Level class
The logger levels
See package:logging for more details on log levels
A class was used instead of an Enum as a class allows creation of new Levels
Properties
Methods
-
call(
) → int - Used to return the logs value when you invoke the level.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- ALL → const Level
- Special key to turn on logging for all levels (value = 0).
- DEBUG → const Level
- Key for tracing information (value = 500).
- ERROR → const Level
- Key for serious failures (value = 1000).
- INFO → const Level
- Key for informational messages (value = 800).
- OFF → const Level
- Special key to turn off all logging (value = 2000).
- WARNING → const Level
- Key for potential problems (value = 900).