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 Summary
Constructors -
Method Summary
-
Constructor Details
-
NullLevelFilterFactory
public NullLevelFilterFactory()
-
-
Method Details
-
build
Creates aFilterthat will always defer to the next Filter in the chain, if any.- Specified by:
buildin interfaceLevelFilterFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>- Parameters:
threshold- the parameter is ignored- Returns:
- a
Filterwith aFilter.decide(Object)method that will always returnFilterReply.NEUTRAL.
-