Пример #1
0
 public static IEnumerable <LogEvent> Filter(IEnumerable <LogEvent> logEvents, SinkConfiguration sinkConfiguration)
 {
     if (logEvents == null || sinkConfiguration == null)
     {
         return(EmptyLogEvents);
     }
     return(logEvents.Where(logEvent => FurtherEventPercolator.Percolate(logEvent, sinkConfiguration)));
 }