Skip to main content

init_logger

Function init_logger 

Source
pub fn init_logger(blocking: bool) -> Option<WorkerGuard>
Expand description

Writes to stdout with a default level of “info” that can be changed with the RUST_LOG environment variable.

Uses a test writer and “debug” level if running unit/integration tests.