LogSeverity enum
Severity of a log recorded with LDObserve.recordLog.
Each value carries the OpenTelemetry severity number it is exported with.
Distinct from ObservabilityLogLevel, which is the minimum severity the
native SDKs export.
Values
- trace → const LogSeverity
-
Fine-grained diagnostic detail (OTel
TRACE, 1).const LogSeverity(1) - debug → const LogSeverity
-
Debugging information (OTel
DEBUG, 5).const LogSeverity(5) - info → const LogSeverity
-
Normal operational messages (OTel
INFO, 9).const LogSeverity(9) - warn → const LogSeverity
-
Something unexpected that the app recovered from (OTel
WARN, 13).const LogSeverity(13) - error → const LogSeverity
-
A failed operation (OTel
ERROR, 17).const LogSeverity(17) - fatal → const LogSeverity
-
An error the app cannot recover from (OTel
FATAL, 21).const LogSeverity(21)
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
- severityNumber → int
-
The OpenTelemetry log severity number for this severity.
final
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<
LogSeverity> - A constant List of the values in this enum, in order of their declaration.