LogLevel enum

日志级别枚举 用作日志过滤阈值,而不是“只记录该级别”。 例如 LogLevel.warn 表示记录 warn 和 error。

Inheritance
Available extensions

Values

debug → const LogLevel

Debug 级别

info → const LogLevel

Info 级别

warn → const LogLevel

Warn 级别

error → const LogLevel

Error 级别

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

Available on LogLevel, provided by the LogLevelValue 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.