Skip to main content

init_tracing

Function init_tracing 

Source
pub fn init_tracing(mode: LogMode, level: LevelFilter) -> WorkerGuard
Expand description

Initialize the global tracing subscriber. Returns a guard that must be held for the daemon’s lifetime to ensure the non-blocking writer flushes on drop.