Skip to main content

setup

Function setup 

Source
pub fn setup(opts: LoggerOptions) -> Result<(), LoggerError>
Available on crate feature logger only.
Expand description

Initialise the global logger with custom options.

ยงErrors

Returns an error if the logger is already initialised.