WTLogLevel enum
Represents the log levels used for logging events within the application.
This enum defines different log levels for categorizing logs with varying severity:
- debug: Logs used for debugging purposes (lowest severity).
- info: Informational logs for general application state.
- warning: Logs indicating potential issues that are not critical.
- error: Logs indicating an error or critical issue in the application (highest severity).
Each log level is associated with a specific integer value for easy comparison and filtering.
- Inheritance
- Available extensions
Values
- debug → const WTLogLevel
-
Debug level log, used for detailed information during debugging.
- info → const WTLogLevel
-
Info level log, used for general information.
- warning → const WTLogLevel
-
Warning level log, used for potential issues or minor errors.
- error → const WTLogLevel
-
Error level log, used for critical errors or failures.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- label → String
-
Available on WTLogLevel, provided by the WTLogLevelPriority extension
Returns the string representation of the log level.no setter - level → int
-
Available on WTLogLevel, provided by the WTLogLevelPriority extension
Returns the log level priority.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
- webLabel → String
-
Available on WTLogLevel, provided by the WTLogLevelPriority extension
no setter
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
Constants
-
values
→ const List<
WTLogLevel> - A constant List of the values in this enum, in order of their declaration.