Skip to main content

try_init

Function try_init 

Source
pub fn try_init() -> Result<(), TryInitError>
Expand description

Try to initialize the logging system.

Returns Ok(()) if successful, or Err if logging has already been initialized.