Package ch.qos.logback.access.filter
Class CountingFilter
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.filter.Filter
ch.qos.logback.access.filter.CountingFilter
- All Implemented Interfaces:
ContextAware,LifeCycle
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final StatisticalViewImpl(package private) String(package private) longFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
total
long total -
accessStatsImpl
-
domain
String domain
-
-
Constructor Details
-
CountingFilter
public CountingFilter()
-
-
Method Details
-
decide
Description copied from class:FilterIf the decision is, then the event will be dropped. If the decision isFilterReply.DENY, then the next filter, if any, will be invoked. If the decision isFilterReply.NEUTRALthen the event will be logged without consulting with other filters in the chain.FilterReply.ACCEPT -
getTotal
public long getTotal() -
start
public void start() -
stop
public void stop() -
getDomain
-
setDomain
-