BDLevel enum

An Logging Level of importance of a log message.

Inheritance
Implemented types

Constructors

BDLevel(String label, int importance)
Create a new level with label and importance.
const

Values

debug → const BDLevel

DEBUG logging level for debugging messages.

const BDLevel('DEBUG', 3)
info → const BDLevel

INFO logging level for informational messages.

const BDLevel('INFO', 4)
warning → const BDLevel

WARNING logging level for potential problems.

const BDLevel('WARNING', 5)
success → const BDLevel

SUCCESS logging level for positive messages.

const BDLevel('SUCCESS', 6)
error → const BDLevel

ERROR logging level for server problems

const BDLevel('ERROR', 7)

Properties

hashCode int
The hash code for this object.
no setterinherited
importance int
The value of the logging level, that allow it be ordered by importance or to remove logging level lower or higher to the logging level.
final
index int
A numeric identifier for the enumerated value.
no setterinherited
label String
Name of the logging level.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareTo(BDLevel other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator <(BDLevel other) bool
Compare if the current BDLevel is lower than other
operator <=(BDLevel other) bool
Compare if the current BDLevel is lower or equal to other
operator ==(Object other) bool
The equality operator.
inherited
operator >(BDLevel other) bool
Compare if the current BDLevel is greater than other
operator >=(BDLevel other) bool
Compare if the current BDLevel is greater or equal to other

Constants

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