OptionalexceptionAutomatic exception details.
OptionalloggerLogger name (InstrumentationScope) under which records are
emitted via the OTel Logs API.
OptionalloggerOptional logger version.
OptionalsanitizeRedact every attribute, including automatic template and exception fields. Return undefined to drop it. Templates are rendered again from redacted properties; sanitizeBody also covers literal message text.
OptionalsanitizeRedact the final rendered body; return undefined to omit it.
Configuration for otelLogSink.