StreamLogPriority enum
The severity of a log record.
Ordered from least to most severe, so a threshold can be expressed by comparing a record's priority against it. none outranks every real severity, and so admits nothing.
- Inheritance
- Implemented types
- Available extensions
Values
- verbose â const StreamLogPriority
-
Fine-grained detail on a hot path, such as an individual heartbeat.
const StreamLogPriority(level: 2, emoji: 'đ', label: 'V') - debug â const StreamLogPriority
-
The steps a subsystem takes, such as a connection changing state.
const StreamLogPriority(level: 3, emoji: 'đ§', label: 'D') - info â const StreamLogPriority
-
A milestone worth seeing without opting into the full trace.
const StreamLogPriority(level: 4, emoji: 'âšī¸', label: 'I') - warning â const StreamLogPriority
-
Something recoverable that the caller may still want to act on.
const StreamLogPriority(level: 5, emoji: 'â ī¸', label: 'W') - error â const StreamLogPriority
-
A failure.
const StreamLogPriority(level: 6, emoji: 'đ¨', label: 'E') - none â const StreamLogPriority
-
A threshold that admits nothing, not a severity a record can carry.
A filter held to it rejects every record, whatever its severity.
const StreamLogPriority(level: 7, emoji: 'đŖ', label: '*')
Properties
- emoji â String
-
A glyph identifying this priority at a glance, for handlers that render one.
final
- hashCode â int
-
The hash code for this object.
no setterinherited
- index â int
-
A numeric identifier for the enumerated value.
no setterinherited
- label â String
-
A single-letter abbreviation of this priority, for handlers that render one.
final
- level â int
-
The rank of this priority, where a higher number is more severe.
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
Methods
-
compareTo(
StreamLogPriority 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 <(
StreamLogPriority other) â bool -
Whether this priority is less severe than
other. -
operator <=(
StreamLogPriority other) â bool -
Whether this priority is no more severe than
other. -
operator ==(
Object other) â bool -
The equality operator.
inherited
-
operator >(
StreamLogPriority other) â bool -
Whether this priority is more severe than
other. -
operator >=(
StreamLogPriority other) â bool -
Whether this priority is at least as severe as
other.
Constants
-
values
â const List<
StreamLogPriority> - A constant List of the values in this enum, in order of their declaration.