Logger class abstract
The logger.
Constructors
- Logger()
-
Returns the new instance of Logger.
factory
- Logger.fromConfig(LogConfig config)
-
Returns the new instance of Logger based on
config
.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
-
debug(
String message) → void - Log a message at debug level.
-
dispose(
) → void - Destroy this logger.
-
error(
String message, [dynamic error, StackTrace? stackTrace]) → void - Log a message at error level.
-
fatal(
String message, [dynamic error, StackTrace? stackTrace]) → void - Log a message at fatal level.
-
info(
String message) → void - Log a message at info level.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trace(
String message) → void - Log a message at trace level.
-
warn(
String message, [dynamic error, StackTrace? stackTrace]) → void - Log a message at warn level.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited