BDLevel class

An Logging Level of importance of a log message.

Implemented types
Annotations
  • @immutable

Constructors

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

Properties

hashCode int
The hash code for this object.
no setteroverride
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
name 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.
override
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

debug → const BDLevel
DEBUG logging level for debugging messages
error → const BDLevel
ERROR logging level for server problems
info → const BDLevel
INFO logging level for informational messages
levels → const List<BDLevel>
List of all the levels currently supported BDLevel.
success → const BDLevel
ERROR logging level for server problems
warning → const BDLevel
WARNING logging level for potential problems