diff --git a/Cargo.toml b/Cargo.toml index 9c772167..961a8cd4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -100,7 +100,7 @@ features = ["rt-threaded"] optional = true [dev-dependencies] -femme = "1.3.0" +femme = "2.1.1" rand = "0.7.3" tempdir = "0.3.7" futures = "0.3.4" diff --git a/examples/logging.rs b/examples/logging.rs index bd55aaa0..0e4526b3 100644 --- a/examples/logging.rs +++ b/examples/logging.rs @@ -3,7 +3,7 @@ use async_std::task; fn main() { - femme::start(log::LevelFilter::Trace).unwrap(); + femme::with_level(log::LevelFilter::Trace); task::block_on(async { let handle = task::spawn(async {