Function logger

Source
pub fn logger() -> Result<&'static Box<dyn Logger>, Error>
Expand description

Retrieves the global logger instance.

ยงReturns

A reference to the logger if initialized, or Error::NotInitialized if not