LogEventMapper typedef
A function that allows you to modify or drop specific LogEvents before they are sent to Datadog.
The LogEventMapper can modify any mutable (non-final) properties in the LogEvent, or return null to drop the log entirely.
Implementation
typedef LogEventMapper = LogEvent? Function(LogEvent event);