Skip to main content

Module subscriber

Module subscriber 

Source
Expand description

Subscriber initialization for SAF structured debug logging.

Provides init() which reads SAF_LOG and SAF_LOG_FILE environment variables and returns a SafLogLayer for composition into a tracing_subscriber::Registry.

Modules§

filter
SAF_LOG environment variable parser and filter matcher.
layer
SafLogLayer — a tracing Layer that formats and emits SAF debug log lines.

Functions§

init
Initialize the SAF log layer from environment variables.