[][src]Function witchcraft_log::set_logger

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

Sets the global logger.

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