DVLogRecord class
One log line.
Constructors
Properties
- code → String?
-
A
DV-...diagnostic code, whichdartvel explaincan look up.final -
context
→ Map<
String, Object?> -
The structured part. Everything a query might filter on belongs here
rather than interpolated into message, because a value inside a
sentence can only be found by a substring search.
final
- error → String?
-
final
- event → String?
-
A machine-selectable name, for
DV.ObservabilityAndLogging.event.final - hashCode → int
-
The hash code for this object.
no setterinherited
- level → DVLogLevel
-
final
- message → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spanId → String?
-
final
- stackTrace → String?
-
final
- time → DateTime
-
final
- traceId → String?
-
The trace this happened inside, when there was one.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toJsonLine(
) → String - The record as a single line.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited