LogLevel enum
Severity levels, ordered by weight (lower = more verbose).
Re-exported as LogLevel so you can configure logging without importing
anything else. Member names match the common logging convention.
Values
- trace → const LogLevel
-
const LogLevel(1000) - debug → const LogLevel
-
const LogLevel(2000) - info → const LogLevel
-
const LogLevel(3000) - warning → const LogLevel
-
const LogLevel(4000) - error → const LogLevel
-
const LogLevel(5000) - fatal → const LogLevel
-
const LogLevel(6000) - off → const LogLevel
-
Sentinel above every real level; used as a threshold to silence all logs.
const LogLevel(10000)
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
- weight → int
-
Relative severity. A log is emitted when its level's weight is
>=the active threshold's weight.final
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