Libraries
    Preparing search index...

    Interface OtelLogSinkOptions

    Configuration for otelLogSink.

    interface OtelLogSinkOptions {
        loggerName?: string;
        loggerVersion?: string;
        sanitizeAttribute?: (key: string, value: unknown) => unknown;
    }
    Index

    Properties

    loggerName?: string

    Logger name (InstrumentationScope) under which records are emitted via the OTel Logs API.

    '@cleverbrush/otel'
    
    loggerVersion?: string

    Optional logger version.

    sanitizeAttribute?: (key: string, value: unknown) => unknown

    Hook for redacting / dropping properties before they become OTel log record attributes. Return undefined to drop the attribute entirely.