pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError>
Expand description

Sets the global logger.

The global logger can only be set once. Further calls will return an error.