1 2 3 4 5 6 7 8 9 10 11 12
// MIT/Apache2 License #![cfg(test)] /// Set up a `tracing` subscriber for testing purposes. #[allow(dead_code)] pub(crate) fn setup_tracing() { tracing_subscriber::fmt::fmt() //.with_max_level(tracing::Level::TRACE) .try_init() .ok(); }