Crate batbox_logger

Source
Expand description

Logging

Initialize the logger using one of the methods here, then just use the log crate stuff

batbox_logger::init();
log::info!("This is a doctest");

Functionsยง

add_logger
Add another custom logger to use in addition to the main one
builder
Get the default logger builder configuration
init
Initialize using default config
init_for_tests
Initialize for tests ([crates::env_logger::Builder::is_test])
init_with
Initialize with a custom config
try_init
Initialize using default config, or return error