Class ThresholdLevelFilterFactory
- java.lang.Object
-
- io.dropwizard.logging.common.filter.ThresholdLevelFilterFactory
-
- All Implemented Interfaces:
LevelFilterFactory<ch.qos.logback.classic.spi.ILoggingEvent>
public class ThresholdLevelFilterFactory extends Object implements LevelFilterFactory<ch.qos.logback.classic.spi.ILoggingEvent>
Factory that creates aFilter
of typeILoggingEvent
-
-
Constructor Summary
Constructors Constructor Description ThresholdLevelFilterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>
build(ch.qos.logback.classic.Level threshold)
Creates and starts aFilter
for the given threshold.
-
-
-
Method Detail
-
build
public ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent> build(ch.qos.logback.classic.Level threshold)
Creates and starts aFilter
for the given threshold.- Specified by:
build
in interfaceLevelFilterFactory<ch.qos.logback.classic.spi.ILoggingEvent>
- Parameters:
threshold
- The minimum event level for this filter.- Returns:
- a new, started
Filter
-
-