Function std_logger::try_init[][src]

pub fn try_init() -> Result<(), SetLoggerError>

Try to initialise the logger.

Unlike init this doesn’t panic when the logger fails to initialise. See the crate level documentation for more.