NoOpTrace class final
Constructors
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
-
getAttributes(
) → Map< String, String> -
Gets all attributes set so far in the trace.
override
-
getMetric(
String name) → int -
Gets a metric with a specific name.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAttributes(
Map< String, String> attributes) → void -
Sets an attribute with a specific name and value.
override
-
setMetric(
String name, int value) → void -
Sets a metric with a specific name and value.
override
-
startChild(
String name, String operation, {LogLevel? level = LogLevel.info}) → Future< Trace> -
Starts a child trace with a specific name and operation.
override
-
stop(
) → Future< void> -
Stops or finalizes the trace.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited