Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-46650

Allow use of string variables in log messages

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tools
    • Labels:
      None

      Currently, it seems we aren't able to use string variables directly in a call to LOGV2. We end up with work-arounds like here, where we build the message using str::stream and then pass that in as an attribute.

      Ideally, there would be a way for us to pass in string variables directly.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: