ch.qos.logback.classic.turbo
Class MatchingFilter

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.classic.turbo.TurboFilter
          extended by ch.qos.logback.classic.turbo.MatchingFilter
All Implemented Interfaces:
ContextAware, LifeCycle
Direct Known Subclasses:
MarkerFilter, MDCFilter

public abstract class MatchingFilter
extends TurboFilter

An abstract class containing support for onMatch on onMismatch attributes, shared by many but not all tubo filters.

Author:
Ceki Gulcu

Field Summary
protected  FilterReply onMatch
           
protected  FilterReply onMismatch
           
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
MatchingFilter()
           
 
Method Summary
 void setOnMatch(String action)
           
 void setOnMismatch(String action)
           
 
Methods inherited from class ch.qos.logback.classic.turbo.TurboFilter
decide, getName, isStarted, setName, start, stop
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

onMatch

protected FilterReply onMatch

onMismatch

protected FilterReply onMismatch
Constructor Detail

MatchingFilter

public MatchingFilter()
Method Detail

setOnMatch

public final void setOnMatch(String action)

setOnMismatch

public final void setOnMismatch(String action)


Copyright © 2005-2011 QOS.ch. All Rights Reserved.