BaseLogger class abstract
The BaseLogger class is used to log messages to the console It has four methods: debug, error, warning, info Each method logs the message with a different log level The log method is used to log the message with the specified log level The isActive property is used to enable or disable the logger If the logger is disabled, the log method does nothing @param isActive: A boolean value that specifies if the logger is active @param minimumLevel: A LogLevel value that specifies the minimum log level The logger will only log messages with a log level greater than or equal to the minimum level The default value is LogLevel.debug
- Implementers
Constructors
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 -
error(
String message) → void -
filter(
LogLevel logLevel) → void -
info(
String message) → void -
log(
LogLevel logLevel, String message) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFilter(
) → void -
success(
String message) → void -
toString(
) → String -
A string representation of this object.
inherited
-
warning(
String message) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited