Function cpp_linter::logger::init
source ยท pub fn init() -> Result<(), SetLoggerError>
Expand description
A function to initialize the private LOGGER
.
The logging level defaults to LevelFilter::Info
.
Returns a SetLoggerError
if the LOGGER
is already initialized.