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 a Filter of type ILoggingEvent
  • Constructor Details

    • ThresholdLevelFilterFactory

      public ThresholdLevelFilterFactory()
  • Method Details

    • build

      public ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent> build(ch.qos.logback.classic.Level threshold)
      Creates and starts a Filter for the given threshold.
      Specified by:
      build in interface LevelFilterFactory<ch.qos.logback.classic.spi.ILoggingEvent>
      Parameters:
      threshold - The minimum event level for this filter.
      Returns:
      a new, started Filter