ReadableLogRecord class abstract

A read-only view of a log record.

This interface provides read-only access to all LogRecord information for exporters and processors that only need to read the data.

Implementations can access InstrumentationScope and Resource implicitly.

More information: https://opentelemetry.io/docs/specs/otel/logs/sdk/#readablelogrecord

Implemented types

Constructors

ReadableLogRecord()

Properties

attributes → Attributes?
no setterinherited
body → dynamic
no setterinherited
context → Context?
no setterinherited
droppedAttributesCount → int
The count of attributes that were dropped due to limits.
no setter
eventName → String?
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
instrumentationScope → InstrumentationScope
The instrumentation scope associated with this log record.
no setter
observedTimestamp → Int64?
no setterinherited
resource → Resource?
The resource associated with this log record.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severityNumber → Severity?
no setterinherited
severityText → String?
no setterinherited
spanId → SpanId?
The span ID associated with this log record, if any.
no setter
timestamp → Int64?
no setterinherited
traceFlags → TraceFlags?
The trace flags associated with this log record, if any.
no setter
traceId → TraceId?
The trace ID associated with this log record, if any.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited