Add to log lines the file name and the line number from where this log was printed

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This will allow to implement a viewer that can jump into the code line that printed the log line.
      Its possible only when log printing message is a macro so it can evaluate compile time _FILE_ and _LINE_.
      Currently LOG is a macro but log() and log(component) is not.
      So this task has the following components:
      1. convert all log printing functions to macros
      2. implement printing current file and line in the format that can be processed by a client viewer
      3. implement a compile time option -D that enables this new functionality and use it for the evergreen builds

            Assignee:
            Misha Tyulenev (Inactive)
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: