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

Allow use of string variables in log messages

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Tools
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: