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