Have logv2 be `toBson` aware

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Server Security
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-45517 added support for LOGV2 to bind to `toBSON` (i.e: use an object's `toBSON` method for serializing into a log message), but there are a smattering of classes that define `toBson` with a different casing. Some examples include `RecordData` and `mongo::Document`.

            Assignee:
            [DO NOT USE] Backlog - Security Team
            Reporter:
            Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: