logger library

Classes

ConsoleOutput
Pretty-prints log records to stdout with optional ANSI colors.
LogConfig
Snapshot of controller configuration (for remote control / diagnostics).
LogController
Central log dispatcher.
LogEnricher
Enricher adds fields to every log record passing through the pipeline.
LogEvent
A point-in-time log event.
LogFilter
Filter criteria for log subscriptions and queries.
LogOutput
Interface for log output backends.
LogRecord
Base type for all log records flowing through the pipeline.
LogRedactor
Redacts sensitive fields from log record data.
LogScope
Lightweight logging handle bound to a scope name and controller.
LogSpan
A completed operation span with duration.
LogSpanHandle
Handle to an active (in-progress) span.
LogSpanStart
Marks the beginning of a span.
RingBufferOutput
In-memory circular buffer that keeps the last N log records.
SamplingConfig
Per-level sampling configuration.
SamplingState
Runtime sampling state that tracks record counts per level within the current interval.

Enums

ConsoleFormat
Console output format.
RpcLogLevel
Log severity levels.
SpanStatus
Status of a completed span.

Typedefs

SpanCompleteCallback = void Function(LogSpan span)
Callback for when a span ends and should be emitted.
SpanEventCallback = void Function(LogEvent event)
Callback for emitting live events from within a span.
SpanStartCallback = void Function(LogSpanStart start)
Callback for emitting span start.