LogLevel enum

The log levels supported by OTelLog.

Higher level values are more verbose (trace is highest, fatal is lowest).

Inheritance
Available extensions

Values

fatal → const LogLevel

A log level for critical errors that may cause application failure.

const LogLevel(0)
error → const LogLevel

A log level for error messages.

const LogLevel(1)
warn → const LogLevel

A log level for warning messages.

const LogLevel(2)
info → const LogLevel

A log level for general informational messages.

const LogLevel(3)
debug → const LogLevel

A log level for debug information.

const LogLevel(4)
trace → const LogLevel

A log level indicating very detailed trace information.

const LogLevel(6)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
level int
The numeric value of this log level.
final
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

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.