Class LoggerThresholdFilter

  • All Implemented Interfaces:
    ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

    public class LoggerThresholdFilter
    extends ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>
    Comparable to ch.qos.logback.classic.filter.ThresholdFilter, but for a specific logger. Filters out events for the given logger (and its children) below the threshold level; events for all other loggers are neutral.
    • Field Summary

      • Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase

        context
    • Constructor Detail

      • LoggerThresholdFilter

        public LoggerThresholdFilter()
    • Method Detail

      • decide

        public ch.qos.logback.core.spi.FilterReply decide​(ch.qos.logback.classic.spi.ILoggingEvent event)
        Specified by:
        decide in class ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>
      • setLogger

        public void setLogger​(String logger)
      • setLevel

        public void setLevel​(ch.qos.logback.classic.Level level)
      • setExceptLogger

        public void setExceptLogger​(String exceptLogger)