Function init_logging_once

Source
pub fn init_logging_once(config: Config)
Expand description

The first time this is called, the global logger will be initialized with the given config. Once this returns, it is guaranteed that the global logger has been configured exactly once, though not necessarily by this invocation.