LoggerSingleton class
Use the logger as a singleton to share the same log level everywhere
Constructors
- LoggerSingleton()
-
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
-
close(
) → void -
Closes the logger and releases all resources.
inherited
-
d(
dynamic message, [dynamic error, StackTrace? stackTrace]) → void -
Log a message at level
Level.debug
.inherited -
e(
dynamic message, [dynamic error, StackTrace? stackTrace]) → void -
Log a message at level
Level.error
.inherited -
i(
dynamic message, [dynamic error, StackTrace? stackTrace]) → void -
Log a message at level
Level.info
.inherited -
isClosed(
) → bool -
inherited
-
log(
Level level, dynamic message, [dynamic error, StackTrace? stackTrace]) → void -
Log a message with
level
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
v(
dynamic message, [dynamic error, StackTrace? stackTrace]) → void -
Log a message at level
Level.verbose
.inherited -
w(
dynamic message, [dynamic error, StackTrace? stackTrace]) → void -
Log a message at level
Level.warning
.inherited -
wtf(
dynamic message, [dynamic error, StackTrace? stackTrace]) → void -
Log a message at level
Level.wtf
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited