|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.filter.Filter
ch.qos.logback.access.filter.CountingFilter
public class CountingFilter
| Field Summary |
|---|
| Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
|---|
context |
| Constructor Summary | |
|---|---|
CountingFilter()
|
|
| Method Summary | |
|---|---|
FilterReply |
decide(java.lang.Object event)
If the decision is , then the event will be
dropped. |
java.lang.String |
getDomain()
|
long |
getTotal()
|
void |
setDomain(java.lang.String domain)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class ch.qos.logback.core.filter.Filter |
|---|
getName, isStarted, setName |
| 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 |
| Constructor Detail |
|---|
public CountingFilter()
| Method Detail |
|---|
public FilterReply decide(java.lang.Object event)
Filter#DENY, then the event will be
dropped. If the decision is #NEUTRAL, then the next
filter, if any, will be invoked. If the decision is
#ACCEPT then the event will be logged without
consulting with other filters in the chain.
decide in class Filterevent - The event to decide upon.public long getTotal()
public void start()
start in interface LifeCyclestart in class Filterpublic void stop()
stop in interface LifeCyclestop in class Filterpublic java.lang.String getDomain()
public void setDomain(java.lang.String domain)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||