public class SamebugAppender extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent> implements Runnable
| Constructor and Description |
|---|
SamebugAppender()
Constructs a new appender.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(ch.qos.logback.classic.spi.ILoggingEvent event) |
int |
getQueueSize()
Returns the value of the queueSize property.
|
void |
run() |
void |
setQueueSize(int queueSize)
The queueSize property takes a non-negative integer representing
the number of logging events to retain for delivery to the remote
receiver.
|
void |
start() |
void |
stop() |
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextpublic 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>public void setQueueSize(int queueSize)
AppenderBase.append(Object) method returns immediately after enqueing the
event, assuming that there is space available in the queue. Using a
non-zero queue length can improve performance by eliminating delays
caused by transient network delays. If the queue is full when the
AppenderBase.append(Object) method is called, the event is summarily and
silently dropped.queueSize - the queue size to set.public int getQueueSize()
Copyright © 2014. All rights reserved.