Package net.logstash.logback.appender
Class LoggingEventAsyncDisruptorAppender
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.UnsynchronizedAppenderBase<Event>
net.logstash.logback.appender.AsyncDisruptorAppender<Event,Listener>
net.logstash.logback.appender.DelegatingAsyncDisruptorAppender<ILoggingEvent,AppenderListener<ILoggingEvent>>
net.logstash.logback.appender.LoggingEventAsyncDisruptorAppender
- All Implemented Interfaces:
Appender<ILoggingEvent>
,AppenderAttachable<ILoggingEvent>
,ContextAware
,FilterAttachable<ILoggingEvent>
,LifeCycle
public class LoggingEventAsyncDisruptorAppender
extends DelegatingAsyncDisruptorAppender<ILoggingEvent,AppenderListener<ILoggingEvent>>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.logstash.logback.appender.AsyncDisruptorAppender
AsyncDisruptorAppender.LogEvent<Event>, AsyncDisruptorAppender.LogEventFactory<Event>, AsyncDisruptorAppender.LogEventTranslator<Event>
-
Field Summary
Fields inherited from class net.logstash.logback.appender.AsyncDisruptorAppender
APPENDER_NAME_FORMAT, DEFAULT_DROPPED_WARN_FREQUENCY, DEFAULT_PRODUCER_TYPE, DEFAULT_RING_BUFFER_SIZE, DEFAULT_THREAD_NAME_FORMAT, DEFAULT_WAIT_STRATEGY, listeners, THREAD_INDEX_FORMAT
Fields inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase
name, started
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
void
setIncludeCallerData
(boolean includeCallerData) Methods inherited from class net.logstash.logback.appender.DelegatingAsyncDisruptorAppender
addAppender, createEventHandler, detachAndStopAllAppenders, detachAppender, detachAppender, getAppender, isAttached, iteratorForAppenders, start, stop
Methods inherited from class net.logstash.logback.appender.AsyncDisruptorAppender
addListener, append, calculateThreadName, fireAppenderStarted, fireAppenderStopped, fireEventAppended, fireEventAppendFailed, getAppendRetryFrequency, getAppendTimeout, getDisruptor, getDroppedWarnFrequency, getEventTranslator, getProducerType, getRingBufferSize, getShutdownGracePeriod, getThreadFactory, getThreadNameFormat, getThreadNameFormatParams, getWaitStrategy, isAddDefaultStatusListener, isDaemon, isRingBufferEmpty, removeListener, safelyFireEvent, setAddDefaultStatusListener, setAppendRetryFrequency, setAppendTimeout, setDaemon, setDroppedWarnFrequency, setEventFactory, setEventTranslator, setProducerType, setRingBufferSize, setShutdownGracePeriod, setThreadFactory, setThreadNameFormat, setWaitStrategy, setWaitStrategyType
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 Details
-
LoggingEventAsyncDisruptorAppender
public LoggingEventAsyncDisruptorAppender()
-
-
Method Details
-
prepareForDeferredProcessing
- Overrides:
prepareForDeferredProcessing
in classAsyncDisruptorAppender<ILoggingEvent,
AppenderListener<ILoggingEvent>>
-
isIncludeCallerData
public boolean isIncludeCallerData() -
setIncludeCallerData
public void setIncludeCallerData(boolean includeCallerData)
-