Class AbstractFilterInterceptor

    • Constructor Detail

      • AbstractFilterInterceptor

        public AbstractFilterInterceptor()
    • Method Detail

      • intercept

        public LogItem intercept​(LogItem log)
        Intercept the log.
        Specified by:
        intercept in interface Interceptor
        Parameters:
        log - the original log
        Returns:
        the original log if it is acceptable, or null if it should be filtered out
      • reject

        protected abstract boolean reject​(LogItem log)
        Whether specific log should be filtered out.
        Parameters:
        log - the specific log
        Returns:
        true if the log should be filtered out, false otherwise