LogLevel enum
Log level, that describes the severity of the log message
- Inheritance
- Implemented types
- Available extensions
Values
- trace → const LogLevel
-
A log level describing events showing step by step execution of your code that can be ignored during the standard operation, but may be useful during extended debugging sessions.
const LogLevel._(0)
- debug → const LogLevel
-
A log level used for events considered to be useful during software debugging when more granular information is needed.
const LogLevel._(1)
- info → const LogLevel
-
An event happened, the event is purely informative and can be ignored during normal operations.
const LogLevel._(2)
- warn → const LogLevel
-
Unexpected behavior happened inside the application, but it is continuing its work and the key business features are operating as expected.
const LogLevel._(3)
- error → const LogLevel
-
One or more functionalities are not working, preventing some functionalities from working correctly. For example, a network request failed, a file is missing, etc.
const LogLevel._(4)
- fatal → const LogLevel
-
One or more key business functionalities are not working and the whole system doesn’t fulfill the business functionalities.
const LogLevel._(5)
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
- severity → int
-
The integer value of the log level.
final
Methods
-
compareTo(
LogLevel other) → int -
Compares this object to another object.
override
-
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