Identifies an optional method that returns a JSON-safe logging value.
Add this symbol method to a class when its normal properties contain
secrets, circular references, or internal state that must not enter JSON
logs. JSON handlers use this method before custom. If this method is
absent, they use custom as a fallback.
Identifies an optional method that returns a JSON-safe logging value.
Add this symbol method to a class when its normal properties contain secrets, circular references, or internal state that must not enter JSON logs. JSON handlers use this method before custom. If this method is absent, they use custom as a fallback.