LogLevel enum
Defines the severity levels for logging.
Values
- debug → const LogLevel
-
Detailed information, typically useful for debugging.
- info → const LogLevel
-
General information about system operation.
- warning → const LogLevel
-
Potentially harmful situations that might cause issues.
- error → const LogLevel
-
Error events that might still allow the application to continue.
- none → const LogLevel
-
No logging at all.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Returns the string representation of the log level.
no setter
- 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
-
Returns the numeric value of the log level for comparison.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldLog(
LogLevel minimumLevel) → bool - Checks if this log level should be logged given a minimum level.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited