Skip to main content

init_file_logging

Function init_file_logging 

Source
pub fn init_file_logging(log_path: &Path) -> Result<WorkerGuard>
Expand description

Initialize file-only tracing. Returns a guard that MUST be held for the process lifetime (dropping it flushes+stops the writer). log_path is the per-instance path from paths::instance_log_path().