Level enum

Level means severity. You can filter logs by level.

Inheritance
Available extensions

Values

verbose → const Level

Everythings.

const Level('verbose', 'v')
debug → const Level

Maybe the log should be hidden in production release.

const Level('debug', 'd')
info → const Level

Just tell you something.

const Level('info', 'i')
warn → const Level

Something not good.

const Level('warn', 'w')
error → const Level

Work badly, but not crash.

const Level('error', 'e')
panic → const Level

Crash then.

const Level('panic', 'p')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
Full name.
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
shortName String
short name.
final

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 <(Level other) bool
operator <=(Level other) bool
operator ==(Object other) bool
The equality operator.
inherited
operator >(Level other) bool
operator >=(Level other) bool

Constants

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