LoggingLevel class final
The severity of a log message.
These map to syslog message severities, as specified in RFC-5424: https://datatracker.ietf.org/doc/html/rfc5424#section-6.2.1
Revisions: 2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25, 2026-07-28.
Constructors
- LoggingLevel.of(String value)
-
The value
value; one outside the schema is kept as is.factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
The JSON form of this value.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- alert → const LoggingLevel
- critical → const LoggingLevel
- debug → const LoggingLevel
- emergency → const LoggingLevel
- error → const LoggingLevel
- info → const LoggingLevel
- notice → const LoggingLevel
-
values
→ const List<
LoggingLevel> - Every value the schema defines.
- warning → const LoggingLevel