LogLevel enum

Inheritance
Available extensions

Values

trace → const LogLevel

Logs that contain the most detailed messages. These messages may contain sensitive application data. These messages are disabled by default and should never be enabled in a production environment.

debug → const LogLevel

Logs that are used for interactive investigation during development. These logs should primarily contain information useful for debugging and have no long-term value.

information → const LogLevel

Logs that track the general flow of the application. These logs should have long-term value.

warning → const LogLevel

Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop.

error → const LogLevel

Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure.

critical → const LogLevel

Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires immediate attention.

none → const LogLevel

Not used for writing log messages. Specifies that a logging category should not write any messages.

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
name String

Available on LogLevel, provided by the LogLevelExtensions extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int

Available on LogLevel, provided by the LogLevelExtensions 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<LogLevel>
A constant List of the values in this enum, in order of their declaration.