StdLogSink class
- Implemented types
Constructors
- StdLogSink(String name, {Map values = const {}, SpanContext? spanContext})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spanContext → SpanContext?
-
final
- values ↔ Map
-
getter/setter pair
Methods
-
enabled(
int level) → bool -
tests whether this LogSink is enabled at the specified V-level.
override
-
end(
[Map? values]) → dynamic -
override
-
error(
Exception e, Map values, {StackTrace? stackTrace}) → dynamic -
logs an Exception, message will always in field "msg"
override
-
info(
int level, Map values) → dynamic -
logs non-error with Map values, message will always in field "msg"
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
String name, [Map? values]) → StdLogSink -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
withName(
String name) → StdLogSink -
returns a new LogSink with specified name appended.
override
-
withValues(
Map values) → StdLogSink -
returns a new LogSink with Map values.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited