LogConfig class

Constructors

LogConfig({Map<String, Level> logLevels = const <String, Level>{"" : 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
hashCode int
The hash code for this object.
no setterinherited
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
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