|
||||||||||
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.UnsynchronizedAppenderBase<E>
ch.qos.logback.core.AsyncAppenderBase<ILoggingEvent>
ch.qos.logback.classic.AsyncAppender
public class AsyncAppender
In order to optimize performance this appender deems events of level TRACE, DEBUG and INFO as discardable. See the chapter on appenders in the manual for further information.
Field Summary |
---|
Fields inherited from class ch.qos.logback.core.AsyncAppenderBase |
---|
DEFAULT_QUEUE_SIZE |
Fields inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase |
---|
name, started |
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
---|
context |
Constructor Summary | |
---|---|
AsyncAppender()
|
Method Summary | |
---|---|
protected boolean |
isDiscardable(ILoggingEvent event)
Events of level TRACE, DEBUG and INFO are deemed to be discardable. |
boolean |
isIncludeCallerData()
|
protected void |
preprocess(ILoggingEvent eventObject)
Pre-process the event prior to queueing. |
void |
setIncludeCallerData(boolean includeCallerData)
|
Methods inherited from class ch.qos.logback.core.AsyncAppenderBase |
---|
addAppender, append, detachAndStopAllAppenders, detachAppender, detachAppender, getAppender, getDiscardingThreshold, getNumberOfElementsInQueue, getQueueSize, getRemainingCapacity, isAttached, iteratorForAppenders, setDiscardingThreshold, setQueueSize, start, stop |
Methods inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase |
---|
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, 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 Detail |
---|
public AsyncAppender()
Method Detail |
---|
protected boolean isDiscardable(ILoggingEvent event)
isDiscardable
in class AsyncAppenderBase<ILoggingEvent>
event
-
protected void preprocess(ILoggingEvent eventObject)
AsyncAppenderBase
preprocess
in class AsyncAppenderBase<ILoggingEvent>
public boolean isIncludeCallerData()
public void setIncludeCallerData(boolean includeCallerData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |