LogLevel enum
Severity levels for log messages.
When a level is passed to LogControl, it defines the minimal severity of messages that will be delivered, based on the following hierarchy:
LOG_LEVEL_INFOLOG_LEVEL_WARNINGLOG_LEVEL_ERRORLOG_LEVEL_FATAL
For example, LOG_LEVEL_ERROR includes both error and fatal messages.
It is not possible to receive only informational messages while excluding more severe messages
by using the LogControl threshold alone.
Use LogAppender to apply additional runtime filtering after that threshold
if needed.
Use LOG_LEVEL_OFF to disable logging entirely.
Values
- logLevelInfo → const LogLevel
-
The severity value for informational messages.
- logLevelWarning → const LogLevel
-
The severity value for warning messages.
- logLevelError → const LogLevel
-
The severity value for error messages.
- logLevelFatal → const LogLevel
-
The severity value for fatal messages.
- logLevelOff → const LogLevel
-
A special value to turn off logging.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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