DebugProcessor class

A Processor that outputs messages that are useful in diagnosing telemetry processing.

Messages are output to the provided logger, or to a default Logger if none is provided. All log messages are at the Level.INFO level.

Implemented types

Constructors

DebugProcessor({Processor? next, Logger? logger})
Creates an instance of DebugProcessor.

Properties

hashCode int
The hash code for this object.
no setterinherited
logger → Logger
A Logger to which processing information will be written.
final
next Processor?
The next processor in the chain, or null if there is none.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

flush() Future<void>
Outputs a message, then forwards onto next.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process({required List<ContextualTelemetryItem> contextualTelemetryItems}) → void
Outputs a message detailing the telemetry being processed, then forwards the telemetry onto next.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited