RpcLogLevel enum
Log severity levels.
Ordered from lowest to highest. internal is reserved by convention for rpc_dart library internals.
- Inheritance
- Implemented types
- Available extensions
Values
- internal → const RpcLogLevel
-
Library internals only (convention): frame parsing, raw bytes, stream lifecycle. Not intended for user code. Filtered out by default (minLevel = debug).
- trace → const RpcLogLevel
-
Detailed diagnostics: routing decisions, state transitions.
- debug → const RpcLogLevel
-
Development: method calls, connection events.
- info → const RpcLogLevel
-
Business events: connected, request handled, operation complete.
- warning → const RpcLogLevel
-
Recoverable issues: timeout, retry, deprecation.
- error → const RpcLogLevel
-
Failures: exception in handler, transport error.
- fatal → const RpcLogLevel
-
Unrecoverable: endpoint cannot function.
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
Methods
-
compareTo(
RpcLogLevel 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.
inherited
Operators
-
operator <(
RpcLogLevel other) → bool -
Returns true if this level is below
other. -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >=(
RpcLogLevel other) → bool -
Returns true if this level is at or above
other.
Static Methods
-
fromName(
String? name) → RpcLogLevel? -
The level named
name, or null when no level has that name.
Constants
-
values
→ const List<
RpcLogLevel> - A constant List of the values in this enum, in order of their declaration.