Function ore::test::init_logging_default [−][src]
pub fn init_logging_default(level: &str)
This is supported on 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
.