[SERVER-54574] Have logv2 be `toBson` aware Created: 16/Feb/21  Updated: 23/Jan/23

Status: Backlog
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Daniel Gottlieb (Inactive) Assignee: Backlog - Security Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Security
Participants:

 Description   

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`.


Generated at Thu Feb 08 05:33:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.