LogConfig class Null safety

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.
read-onlyinherited
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.
read-onlyinherited

Methods

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

Operators

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