RedactionObjectEncoder typedef
Converts an application object into supported structured-log data.
The returned value is traversed using the same limits and policy as every other value. Returning the input object, producing a cycle, or throwing causes the entry to be dropped.
Implementation
typedef RedactionObjectEncoder = Object? Function(Object value);