code: public boolean isTriggeringEvent(LoggingEvent event) {
      //
      //   in the abnormal case of no contained filters
      //     always return true to avoid each logging event
      //     from having its own file.
      if (headFilter == null) {
        return false;
      }
  
      //
      //    otherwise loop through the filters
      //
      for (Filter f = headFilter; f != null; f = f.next) {
        switch (f.decide(event)) {
        case Filter.DENY:
          return false;
  
        case Filter.ACCEPT:
          return true;
        }
      }
  
      return true;
     }
docs: {@inheritDoc}