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 aFilterof 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 aFilterfor 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 aFilterfor the given threshold.- Specified by:
buildin interfaceLevelFilterFactory<ch.qos.logback.classic.spi.ILoggingEvent>- Parameters:
threshold- The minimum event level for this filter.- Returns:
- a new, started
Filter
-
-