Skip to main content

init

Function init 

Source
pub fn init<P: Into<PathBuf>>(path: P) -> Result<()>
Expand description

Initialize the global logger used by the info!() / try_info!() macros.

Call this once at program startup.

ยงErrors

Returns AlreadyExists if the global logger has already been initialized.