LogManager class

The Log Manager.

Resolves the configured logging channel and returns the appropriate driver.

Implementers

Constructors

LogManager()

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

driver([String? channel]) LoggerDriver
Get the default logger driver based on configuration.
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

extend(String driver, LoggerDriver factory(Map<String, dynamic> config)) → void
Register a custom log driver factory.
resetDrivers() → void
Reset all custom drivers (for testing).