LogConfig class

Constructors

LogConfig({Map<String, Level> logLevels: const {"" : Level.INFO}, LoggingHandler handler: const ConsoleHandler()})
LogConfig.root(Level level, {LoggingHandler handler: const ConsoleHandler()})
LogConfig.single({String loggerName: "", Level level: Level.INFO, LoggingHandler handler: const ConsoleHandler()})

Properties

handler LoggingHandler
For all logger names specified as keys in logLevels, determines which LoggingHandler is used to output logs
final
logLevels → Map<String, Level>
For named log levels, provides a log Level. The keys represent the logger name, and are hierarchical, using a dot-separated pattern
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited