Function mz_ore::test::init_logging_default
source ยท pub fn init_logging_default(level: &str)
Available on
test
or crate feature test
only.Expand description
Initialize global logger, using the tracing_subscriber
crate.
The default log level will be set to the value passed in.
It is safe to call init_logging_level
multiple times. Since cargo test
does
not run tests in any particular order, each must call init_logging
.