LogLevel enum
Log levels for structured logging with performance awareness.
Values
- trace → const LogLevel
-
Most detailed level, typically disabled in production.
const LogLevel(0) - debug → const LogLevel
-
Detailed debugging information.
const LogLevel(1) - info → const LogLevel
-
General information about system operation.
const LogLevel(2) - warn → const LogLevel
-
Warning about potentially harmful situations.
const LogLevel(3) - error → const LogLevel
-
Error conditions that don't stop the application.
const LogLevel(4) - fatal → const LogLevel
-
Severe error conditions that may stop the application.
const LogLevel(5) - off → const LogLevel
-
Special level for performance-critical operations that should never log.
const LogLevel(99)
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
-
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