RecordingSpanExporter class final
A SpanExporter that keeps spans in a list, for tests.
- Implemented types
Constructors
-
RecordingSpanExporter([List<
Span> ? spans]) -
Creates an exporter that records into
spans.
Properties
Methods
-
export(
Span span) → void -
Called once per span, after it finished.
override
-
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