static LogEventLevel GetLogEventLevel(LogEventLevel requested, LogEventLevel minimum)
 {
     return(requested.CompareTo(minimum) <= 0 ? minimum : requested);
 }