LogLevel enum
Severity. Numeric values align with package:logging so DevTools filters
map 1:1.
Values
- trace → const LogLevel
-
Finest-grained tracing. Typically disabled in every build.
const LogLevel(500, 'T') - debug → const LogLevel
-
Developer diagnostics. Default minimum in debug builds.
const LogLevel(700, 'D') - info → const LogLevel
-
Normal operational events.
const LogLevel(800, 'I') - warn → const LogLevel
-
Something unexpected but recoverable. Default minimum in release.
const LogLevel(900, 'W') - error → const LogLevel
-
A failure that the app kept running through.
const LogLevel(1000, 'E') - fatal → const LogLevel
-
A failure that the app may not recover from.
const LogLevel(1200, 'F')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- letter → String
-
Single-character label used in console output.
final
- 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
-
Numeric severity matching
package:logging/dart:developer.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