Skip to main content

init_tracing

Function init_tracing 

Source
pub fn init_tracing(default_filter: &str)
Expand description

Install a fmt subscriber on stderr.

Reads RUST_LOG when set; otherwise uses default_filter (e.g. "info"). Later calls are no-ops (try_init).

TUI must not call this: step output belongs in the Logs pane via crate::HostContext::logs, not a stderr fmt layer.