1 2 3 4 5 6 7 8 9
use tracing::Level; pub fn init(verbose: bool) { if verbose { tracing_subscriber::fmt() .with_max_level(Level::DEBUG) .init(); } }