LogLevel enum

日志级别枚举(对应Java端LOG_LEVEL)

Inheritance
Available extensions

Values

logLevelError → const LogLevel

错误级别

const LogLevel(2)
logLevelWarn → const LogLevel

警告级别

const LogLevel(4)
logLevelDebug → const LogLevel

调试级别

const LogLevel(8)
logLevelStack → const LogLevel

堆栈级别

const LogLevel(16)
logLevelRender → const LogLevel

渲染级别

const LogLevel(32)
logLevelAll → const LogLevel

所有级别

const LogLevel(268435455)

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
枚举对应的值
final

Methods

getValue() → int
获取枚举对应的值(对应Java的getValue()方法)
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

Static Methods

fromValue(int value) → LogLevel?
扩展方法:通过数值反向获取枚举(可选,增强实用性)

Constants

values → const List<LogLevel>
A constant List of the values in this enum, in order of their declaration.