chapters.filters
Class SampleTurboFilter
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.classic.turbo.TurboFilter
chapters.filters.SampleTurboFilter
- All Implemented Interfaces:
- ContextAware, LifeCycle
public class SampleTurboFilter
- extends TurboFilter
| Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleTurboFilter
public SampleTurboFilter()
decide
public FilterReply decide(org.slf4j.Marker marker,
Logger logger,
Level level,
String format,
Object[] params,
Throwable t)
- Description copied from class:
TurboFilter
- Make a decision based on the multiple parameters passed as arguments.
The returned value should be one of
FilterReply.DENY,
FilterReply.NEUTRAL, or FilterReply.ACCEPT.
- Specified by:
decide in class TurboFilter
- Returns:
getMarker
public String getMarker()
setMarker
public void setMarker(String markerStr)
start
public void start()
- Specified by:
start in interface LifeCycle- Overrides:
start in class TurboFilter
Copyright © 2005-2013 QOS.ch. All Rights Reserved.