interface LoggerOptions {
    includeTraceContext?: boolean;
    schemaUrl?: string;
    scopeAttributes?: Attributes;
}

Properties

includeTraceContext?: boolean

Specifies whether the Trace Context should automatically be passed on to the LogRecords emitted by the Logger.

true
schemaUrl?: string

The schemaUrl of the tracer or instrumentation library

''
scopeAttributes?: Attributes

The instrumentation scope attributes to associate with emitted telemetry