ConsoleLoggerDriver class

The Console Logger Driver.

Uses the logger package to print pretty logs to the console. Respects the configured minimum log level.

Inheritance

Constructors

ConsoleLoggerDriver({String minLevel = 'debug'})
Create a new console logger driver.

Properties

hashCode int
The hash code for this object.
no setterinherited
minLevel String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

alert(String message, [dynamic context]) → void
Action must be taken immediately.
inherited
critical(String message, [dynamic context]) → void
Critical conditions.
inherited
debug(String message, [dynamic context]) → void
Detailed debug information.
inherited
emergency(String message, [dynamic context]) → void
System is unusable.
inherited
error(String message, [dynamic context]) → void
Runtime errors that do not require immediate action.
inherited
info(String message, [dynamic context]) → void
Interesting events.
inherited
log(String level, String message, [dynamic context]) → void
Log a message at a given level.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notice(String message, [dynamic context]) → void
Normal but significant events.
inherited
toString() String
A string representation of this object.
inherited
warning(String message, [dynamic context]) → void
Exceptional occurrences that are not errors.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited