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 logbackFilter
that will always defer to the next Filter.
-
-
Constructor Summary
Constructors Constructor Description NullLevelFilterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ch.qos.logback.core.filter.Filter<E>
build(ch.qos.logback.classic.Level threshold)
Creates aFilter
that will always defer to the next Filter in the chain, if any.
-
-
-
Method Detail
-
build
public ch.qos.logback.core.filter.Filter<E> build(ch.qos.logback.classic.Level threshold)
Creates aFilter
that will always defer to the next Filter in the chain, if any.- Specified by:
build
in interfaceLevelFilterFactory<E extends ch.qos.logback.core.spi.DeferredProcessingAware>
- Parameters:
threshold
- the parameter is ignored- Returns:
- a
Filter
with aFilter.decide(Object)
method that will always returnFilterReply.NEUTRAL
.
-
-