Logger class
Logger for debugging reactive state changes
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
-
clear(
) → void - Clear log history
-
debug(
String message, [Object? data]) → void -
error(
String message, [Object? error]) → void -
info(
String message, [Object? data]) → void -
setEnabled(
bool enabled) → void - Enable/disable logging
-
setLevel(
LogLevel level) → void - Set minimum log level
-
setMaxHistory(
int max) → void - Set maximum history entries
-
warning(
String message, [Object? data]) → void