Skip to main content

init_file_tracing

Function init_file_tracing 

Source
pub fn init_file_tracing(path: &Path) -> Result<TraceGuard>
Expand description

Initialize JSONL tracing to path.

The caller must keep the returned guard alive until shutdown so buffered events are flushed to disk.