Skip to main content

init

Function init 

Source
pub fn init() -> Result<LogHandle>
Expand description

One-click startup: initializes the logger and returns a handle.

Keep the returned LogHandle alive for the program lifetime.

Available only with the logs feature (included in the default full feature set).