LogData class

LogData is data associated with a Span. Every LogData instance should specify at least one of Event and/or Payload.

Constructors

LogData(DateTime timestamp, String event, dynamic payload)
Returns a LogData instance.

Properties

event String
event (if non-empty) should be the stable name of some notable moment in the lifetime of a Span. For instance, a Span representing a browser page load might add an Event for each of the Performance.timing moments here: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming
final
hashCode int
The hash code for this object.
no setterinherited
payload → dynamic
payload is a free-form potentially structured object which Tracer implementations may retain and record all, none, or part of.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
The timestamp of the log record; if set to the default value (the unix epoch), implementations should use Datetime.now().toUtc() implicitly.
final

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