Logger class
Wrapping for logging using various strategies.
Constructors
- Logger()
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
addStrategy(
LogStrategy strategy) → void - Add new strategy.
-
d(
String msg, [Exception? error]) → void - Debug.
-
e(
String msg, [Exception? error]) → void - Error (for errors).
-
removeStrategy(
LogStrategy strategy) → void - Remove all strategies.
-
w(
String msg, [Exception? error]) → void - Warn (for expected errors).