Skip to main content

get_logger

Function get_logger 

Source
pub fn get_logger(name: &str) -> &'static Logger
Expand description

Look up a registered logger by name. Returns DEFAULT_LOGGER if none is registered (call register_logger for a 'static Logger to publish one).

Total — every call returns a usable handle the macros can dispatch through.