-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Service Arch
-
Fully Compatible
-
Service Arch 2023-04-03
We use detection idiom to force use of a toString member, a toString nonmember, etc... in some order.
There should be a way for user-defined types to provide an explicit method of log-stringification, as toString might not be appropriate.
It is a bad fit for DatabaseName, for example, at least during the transition to tenantId-augmented DatabaseNames.
Requires a relatively simple extension to the detection logic in logv2/attribute_storage.h
- is depended on by
-
SERVER-74485 Always include tenant in db name attributes in log lines
- Closed