Function init_for_tests

pub fn init_for_tests()
Expand description

Initialize a logging environment suitable for testing. Logging can be configured in the environment (eg, via the RUST_LOG_LEVEL variable), and if not so configured, will default to the Level::Error level.