Skip to main content

bootstrap_logs

Function bootstrap_logs 

Source
pub fn bootstrap_logs()
Expand description

Installs stderr tracing before clap parse (one-shot lifecycle phase 1b).

Default filter is error so agents stay quiet; initialize_logs reloads from -v after parse (ambient RUST_LOG ignored).

Safe to call more than once: subsequent calls are no-ops once the reload handle is stored (or if another test subscriber already owns the global).