Logger class

Scoped logger. Obtain via Log.tag.

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Tag prefix applied to every record from this logger. Empty for the root.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

d(Object message, {Map<String, Object?>? fields}) → void
Logs at LogLevel.debug.
e(Object message, {Map<String, Object?>? fields, Object? error, StackTrace? stackTrace}) → void
Logs at LogLevel.error.
f(Object message, {Map<String, Object?>? fields, Object? error, StackTrace? stackTrace}) → void
Logs at LogLevel.fatal.
i(Object message, {Map<String, Object?>? fields}) → void
Logs at LogLevel.info.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
t(Object message, {Map<String, Object?>? fields}) → void
Logs at LogLevel.trace.
tag(String child) → Logger
Returns a child logger whose name is this.name.child.
toString() → String
A string representation of this object.
inherited
w(Object message, {Map<String, Object?>? fields, Object? error, StackTrace? stackTrace}) → void
Logs at LogLevel.warn.

Operators

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