code: @Override
      public FilterReply decide(ILoggingEvent event)
      {
          LoggerContext loggerFactory = (LoggerContext) LoggerFactory.getILoggerFactory();
          Logger logger = loggerFactory.getLogger(event.getLoggerName());
          if(event.getLevel().isGreaterOrEqual(logger.getEffectiveLevel()))
              return FilterReply.NEUTRAL;
  
          return FilterReply.DENY;
      }
docs: Checks the log level of the event against the effective log level of the Logger referenced in the event.
  @param event the event
  @return Returns "NEUTRAL" if the event level is greater than or equal to the loggers effective log level, "DENY"
  otherwise.