LogLevel enum

Log levels for the NDK logger.

Defines the severity levels for logging messages.

Inheritance
Available extensions

Values

all → const LogLevel

Log everything - lowest priority

const LogLevel(0)
trace → const LogLevel

Trace level - for very detailed debugging

const LogLevel(1)
debug → const LogLevel

Debug level - for debugging information

const LogLevel(2)
info → const LogLevel

Info level - for informational messages

const LogLevel(3)
warning → const LogLevel

Warning level - for warning messages

const LogLevel(4)
error → const LogLevel

Error level - for error messages

const LogLevel(5)
fatal → const LogLevel

Fatal level - for fatal error messages

const LogLevel(6)
off → const LogLevel

Off - logging disabled

const LogLevel(7)

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
value int
The priority value of this log level
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldLog(LogLevel minLevel) bool
Check if this level should be logged based on the minimum level
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.