Class NullLevelFilterFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>

java.lang.Object
io.dropwizard.logging.common.filter.NullLevelFilterFactory<E>
Type Parameters:
E - The type of log event
All Implemented Interfaces:
LevelFilterFactory<E>

public class NullLevelFilterFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware> extends Object implements LevelFilterFactory<E>
Factory for building a logback Filter that will always defer to the next Filter.
  • Constructor Details

    • NullLevelFilterFactory

      public NullLevelFilterFactory()
  • Method Details

    • build

      public ch.qos.logback.core.filter.Filter<E> build(ch.qos.logback.classic.Level threshold)
      Creates a Filter that will always defer to the next Filter in the chain, if any.
      Specified by:
      build in interface LevelFilterFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>
      Parameters:
      threshold - the parameter is ignored
      Returns:
      a Filter with a Filter.decide(Object) method that will always return FilterReply.NEUTRAL.