Skip to main content

init_tracing

Function init_tracing 

Source
pub fn init_tracing()
Expand description

Initializes the process-wide tracing subscriber: a plain stderr formatter filtered by RUST_LOG (default info). Idempotent and panic-free — uses try_init, so a second call (or a test that already installed a subscriber) is a no-op rather than a panic. Call once at the top of each binary’s main (the dispatcher and frontend; the CLI uses init_cli_tracing).