DVLogLevel enum

How much a record matters, in the order everyone already expects.

The names are the ones log stores index on, so warn rather than warning: renaming it here would mean every saved query written against a Dartvel service has to know which one it is looking at.

Inheritance
Available extensions

Values

trace → const DVLogLevel
debug → const DVLogLevel
info → const DVLogLevel
warn → const DVLogLevel
error → const DVLogLevel
fatal → const DVLogLevel

The process cannot continue. Logging this does not stop it -- deciding that belongs to the caller, not to a logger.

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

Methods

atLeast(DVLogLevel minimum) → bool
Whether a record at this level passes a sink set to minimum.
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

Static Methods

parse(String name, {DVLogLevel fallback = DVLogLevel.info}) → DVLogLevel
Reads a level name, falling back rather than throwing.

Constants

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