Skip to main content

Module logging

Module logging 

Source
Expand description

Structured logging initialization for RCH components.

Provides a shared logging configuration and initialization routine for binaries (rch, rchd, rch-wkr) and libraries that need consistent output.

Structs§

LogConfig
Configuration for logging initialization.
LoggingGuards
Guards required to keep background logging workers alive.

Enums§

LogFormat
Logging output format.

Functions§

init_logging
Initialize tracing-based logging for the current process.
init_logging_with_layer
Initialize logging with an independently filtered event or span layer.