LogSpanStart class

Marks the beginning of a span.

Implemented types

Constructors

LogSpanStart({required String spanId, required String scope, required String name, String? parentSpanId, String? traceId, List<String> links = const [], DateTime? timestamp})
Creates a LogSpanStart record.

Properties

data → Map<String, Object>?
Structured metadata.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
Spans this one follows from without being their child, each a W3C traceparent (LogScope.startSpan(links:)): what a message said led to, when the span that said it may long be over.
final
name → String
Operation name.
final
parentSpanId → String?
Parent span ID — set when this span was created via LogSpanHandle.startSpan. Lets downstream bridges (e.g. OpenTelemetry) link nested spans without waiting for the parent's LogSpan end record.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → String
Scope name (e.g. 'rpc.transport.router').
final
spanId → String
Span identifier (matches the LogSpan.spanId emitted on end).
final
timestamp → DateTime
When this record was created.
final
traceId → String?
Trace ID for distributed tracing correlation.
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