pub fn set_log_level(level: LogLevel) -> Result<(), &'static str>
Sets the level of logging produced by the library.