Package org.spf4j.log
Class UpToThresholdFilter
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>
-
- org.spf4j.log.UpToThresholdFilter
-
- All Implemented Interfaces:
ch.qos.logback.core.spi.ContextAware,ch.qos.logback.core.spi.LifeCycle
public final class UpToThresholdFilter extends ch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>Filters events above the threshold level. Events with a level above the specified level will be denied, while events with a level equal or above the specified level will trigger a FilterReply.NEUTRAL result, to allow the rest of the filter chain process the event. For more information about filters, please refer to the online manual at http://logback.qos.ch/manual/filters.html#thresholdFilter
-
-
Constructor Summary
Constructors Constructor Description UpToThresholdFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ch.qos.logback.core.spi.FilterReplydecide(ch.qos.logback.classic.spi.ILoggingEvent event)voidsetLevel(String level)voidstart()StringtoString()
-
-
-
Method Detail
-
decide
public ch.qos.logback.core.spi.FilterReply decide(ch.qos.logback.classic.spi.ILoggingEvent event)
- Specified by:
decidein classch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>
-
setLevel
public void setLevel(String level)
-
start
public void start()
- Specified by:
startin interfacech.qos.logback.core.spi.LifeCycle- Overrides:
startin classch.qos.logback.core.filter.Filter<ch.qos.logback.classic.spi.ILoggingEvent>
-
-