Level class

*<Null safety>*

Implemented types

Constructors

Level (String name, int value)

const

Properties

hashCode → int

The hash code for this object. ...
read-only, override

name → String

final

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

value → int

Unique value for this level. Used to order levels, so filtering can exclude messages whose level is under certain value.
final

Methods

compareTo(Level other) int

Compares this object to another Comparable ...
override

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

toString() String

Returns a string representation of this object.
override

Operators

operator <(Level other) bool
operator <=(Level other) bool
operator ==(Object other) bool

The equality operator. ...
override

operator >(Level other) bool
operator >=(Level other) bool

Constants

ALL const Level

Special key to turn on logging for all levels (value = 0).

CONFIG const Level

Key for static configuration messages (value = 700).

FINE const Level

Key for tracing information (value = 500).

FINER const Level

Key for fairly detailed tracing (value = 400).

FINEST const Level

Key for highly detailed tracing (value = 300).

INFO const Level

Key for informational messages (value = 800).

LEVELS const List<Level>
OFF const Level

Special key to turn off all logging (value = 2000).

SEVERE const Level

Key for serious failures (value = 1000).

SHOUT const Level

Key for extra debugging loudness (value = 1200).

WARNING const Level

Key for potential problems (value = 900).