Revision control
Copy as Markdown
Other Tools
use tracing_log::{log::LevelFilter, LogTracer};
/// This test makes sure we can access `log::LevelFilter` through the `tracing_log` crate and don't
/// have to depend on `log` separately.
///
#[test]
fn can_initialize_log_tracer_with_level() {
LogTracer::init_with_filter(LevelFilter::Error).unwrap();
}