Skip to main content

init_logging

Function init_logging 

Source
pub fn init_logging()
Expand description

Initialize file-based logging to ~/.cache/oxi/oxi.log.

Reads RUST_LOG for filter (default: debug). Builds a tracing_subscriber::EnvFilter and writes to a Mutex<File> writer.