public class AsyncAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
| Constructor and Description |
|---|
AsyncAppender(ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> delegate,
int batchSize,
io.dropwizard.util.Duration batchDuration,
boolean bounded) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(ch.qos.logback.classic.spi.ILoggingEvent event) |
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> |
getDelegate() |
void |
start() |
void |
stop() |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic AsyncAppender(ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> delegate,
int batchSize,
io.dropwizard.util.Duration batchDuration,
boolean bounded)
public ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> getDelegate()
public void start()
start in interface ch.qos.logback.core.spi.LifeCyclestart in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>public void stop()
stop in interface ch.qos.logback.core.spi.LifeCyclestop in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>protected void append(ch.qos.logback.classic.spi.ILoggingEvent event)
append in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>Copyright © 2014. All rights reserved.