Tracer class

Constructors

Tracer.new({TraceSink? trace, bool isEnabled = false, Map<String, TraceLevel>? paths})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

doTrace(String path, TraceLevel level, String message, Frame? stackFrame, [dynamic args = const []]) Future<void>
getTraceLevel(String path) TraceLevel
isTraced(String path, TraceLevel level) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setTraceLevel(String path, TraceLevel level) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

enabled bool
getter/setter pair
instance Tracer
no setter

Static Methods

trace(String path, TraceLevel level, String message, [List args = const []]) → void