LogRecord class abstract
Required parameter for LogRecord. According to the spec in https://opentelemetry.io/docs/specs/otel/logs/api/#emit-a-logrecord
The API MUST accept the following parameters:
Timestamp (optional) Observed Timestamp (optional) The Context associated with the LogRecord. When implicit Context is supported, then this parameter SHOULD be optional and if unspecified then MUST use current Context. When only explicit Context is supported, this parameter SHOULD be required. Severity Number (optional) Severity Text (optional) Body (optional) Attributes (optional) Event Name (optional)
- Implementers
Constructors
Properties
- attributes → Attributes?
-
no setter
- body → dynamic
-
no setter
- context → Context?
-
no setter
- eventName → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- observedTimestamp → Int64?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severityNumber → Severity?
-
no setter
- severityText → String?
-
no setter
- timestamp → Int64?
-
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