interface ReadableLogRecord {
    attributes: AnyValueMap;
    body?: AnyValue;
    droppedAttributesCount: number;
    eventName?: string;
    hrTime: @opentelemetry/api.HrTime;
    hrTimeObserved: @opentelemetry/api.HrTime;
    instrumentationScope: core.InstrumentationScope & {
        attributes?: AnyValueMap;
        droppedAttributesCount?: number;
    };
    resource: resources.Resource;
    severityNumber?: SeverityNumber;
    severityText?: string;
    spanContext?: @opentelemetry/api.SpanContext;
}

Properties

attributes: AnyValueMap
body?: AnyValue
droppedAttributesCount: number
eventName?: string
hrTimeObserved: @opentelemetry/api.HrTime
instrumentationScope: core.InstrumentationScope & {
    attributes?: AnyValueMap;
    droppedAttributesCount?: number;
}

The instrumentation scope associated with this log record. Identity of this object MUST be stable across identical scopes, as it is intended be used for efficient scope-based filtering and grouping.

severityNumber?: SeverityNumber
severityText?: string