Package chapters.appenders
Class CountingConsoleAppender
- All Implemented Interfaces:
Appender<ILoggingEvent>
,ContextAware
,FilterAttachable<ILoggingEvent>
,LifeCycle
-
Field Summary
Fields inherited from class ch.qos.logback.core.AppenderBase
name, started
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
append
(ILoggingEvent event) int
getLimit()
void
setLayout
(Layout<ILoggingEvent> layout) void
setLimit
(int limit) void
start()
Methods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, stop, toString
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, wait, wait, wait
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
CountingConsoleAppender
public CountingConsoleAppender()
-
-
Method Details
-
setLimit
-
getLimit
-
start
- Specified by:
start
in interfaceLifeCycle
- Overrides:
start
in classAppenderBase<ILoggingEvent>
-
append
- Specified by:
append
in classAppenderBase<ILoggingEvent>
-
getLayout
-
setLayout
-