public class AsyncAppender extends AsyncAppenderBase<ILoggingEvent>
DEFAULT_QUEUE_SIZE
name, started
context
Constructor and Description |
---|
AsyncAppender() |
Modifier and Type | Method and Description |
---|---|
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) |
addAppender, append, detachAndStopAllAppenders, detachAppender, detachAppender, getAppender, getDiscardingThreshold, getNumberOfElementsInQueue, getQueueSize, getRemainingCapacity, isAttached, iteratorForAppenders, setDiscardingThreshold, setQueueSize, start, stop
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
protected boolean isDiscardable(ILoggingEvent event)
isDiscardable
in class AsyncAppenderBase<ILoggingEvent>
event
- protected void preprocess(ILoggingEvent eventObject)
AsyncAppenderBase
preprocess
in class AsyncAppenderBase<ILoggingEvent>
eventObject
- the log eventpublic boolean isIncludeCallerData()
public void setIncludeCallerData(boolean includeCallerData)
Copyright © 2005–2014 QOS.ch. All rights reserved.