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.
pub fn init() -> Result<(), SetLoggerError>
A function to initialize the private LOGGER
.
The logging level defaults to LevelFilter::Info
.
Returns a SetLoggerError
if the LOGGER
is already initialized.