LogLevel enum
The log level of the logger.
- Inheritance
- Implemented types
- Available extensions
Values
- none → const LogLevel
-
The none log level is used to disable logging.
const LogLevel(999999999) - verbose → const LogLevel
-
The verbose log level is used to log virtually everything.
const LogLevel(0) - debug → const LogLevel
-
The debug log level is used to log debug and higher.
const LogLevel(1) - info → const LogLevel
-
The info log level is used to log info and higher.
const LogLevel(2) - warning → const LogLevel
-
The warning log level is used to log warning and higher.
const LogLevel(3) - severe → const LogLevel
-
The severe log level is used to log severe and higher.
const LogLevel(5) - shout → const LogLevel
-
The shout log level is used to log shout and higher.
const LogLevel(6)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
The value of the log level.
final
Methods
-
compareTo(
LogLevel other) → int -
Compares this object to another object.
override
-
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
Static Methods
-
isLogLevelEnabled(
Set< LogLevel> levels, LogLevel targetLevel) → bool - The isLogLevelEnabled method is used to check if a log level is enabled and the message should be logged.