[SERVER-74968] Create a trait customization point for user-defined types to control stringification used for logging Created: 16/Mar/23 Updated: 29/Oct/23 Resolved: 21/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mathis Bessa | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Service Arch
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Service Arch 2023-04-03 | ||||||||
| Participants: | |||||||||
| Description |
|
We use detection idiom to force use of a toString member, a toString nonmember, etc... in some order. Requires a relatively simple extension to the detection logic in logv2/attribute_storage.h |
| Comments |
| Comment by Githook User [ 21/Mar/23 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: |