pub fn should_publish_log( current_log_level: LogLevel, log_level: LogLevel, ) -> bool
Return whether a log event should be published for the configured level.