BloomLogLevel enum
Log severity levels for Bloom applications.
Log messages are filtered based on priority: a message is only written if its level's priority is greater than or equal to the logger's active BloomLogger.level.
Values
- debug → const BloomLogLevel
-
Verbose diagnostic messages useful during local development and debugging.
const BloomLogLevel(0, 'DEBUG', '\x1B[36m') - info → const BloomLogLevel
-
Normal operational messages confirming routine business actions and events.
const BloomLogLevel(1, 'INFO', '\x1B[32m') - warn → const BloomLogLevel
-
Warning messages for non-fatal issues, deprecations, or unexpected conditions.
const BloomLogLevel(2, 'WARN', '\x1B[33m') - error → const BloomLogLevel
-
Error messages for critical failures, unhandled exceptions, and service outages.
const BloomLogLevel(3, 'ERROR', '\x1B[31m') - none → const BloomLogLevel
-
Disables all logging output when set as the active BloomLogger.level.
const BloomLogLevel(4, 'NONE', '')
Properties
- ansiColor → String
-
ANSI color escape sequence used for terminal colorization.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- label → String
-
String label displayed in formatted console log output.
final
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - priority → int
-
Numeric priority used for severity filtering and comparison.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Constants
-
values
→ const List<
BloomLogLevel> - A constant List of the values in this enum, in order of their declaration.