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

Have logv2 be `toBson` aware

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

      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:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: