Skip to main content

install_tui_tracing

Function install_tui_tracing 

Source
pub fn install_tui_tracing(level: &str) -> LogBuffer
Available on crate feature cli-tui only.
Expand description

Install the ring-buffered tracing subscriber for a TUI session. Called by run_main instead of the stdout subscriber, before any log line is emitted. Returns the buffer for the render loop.