LogSeverity enum

Severity of a zenoh log record, and the ceiling a host sink installs at.

The values mirror canon's zc_log_severity_t and are declared explicitly rather than left to declaration order: the number crosses the FFI seam, so an accidental reorder would silently remap every record instead of failing to compile.

Inheritance
Available extensions

Values

trace → const LogSeverity

Very low priority, often extremely verbose.

const LogSeverity(0)
debug → const LogSeverity

Lower priority information.

const LogSeverity(1)
info → const LogSeverity

Useful information.

const LogSeverity(2)
warn → const LogSeverity

Hazardous situations.

const LogSeverity(3)
error → const LogSeverity

Very serious errors.

const LogSeverity(4)

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
wireValue int
The value canon uses on the wire.
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

Static Methods

fromWire(int wireValue) LogSeverity
The severity for wireValue, or LogSeverity.error if canon ever adds a level this binding does not know.

Constants

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