Package ch.qos.logback.classic.net
Class SocketAppender
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<E>
ch.qos.logback.core.net.AbstractSocketAppender<ILoggingEvent>
ch.qos.logback.classic.net.SocketAppender
- All Implemented Interfaces:
Appender<ILoggingEvent>,SocketConnector.ExceptionHandler,ContextAware,FilterAttachable<ILoggingEvent>,LifeCycle
Sends
ILoggingEvent objects to a remote a log server, usually a
SocketNode.
For more information on this appender, please refer to the online manual
at http://logback.qos.ch/manual/appenders.html#SocketAppender- Author:
- Ceki Gülcü, Sébastien Pennec
-
Field Summary
Fields inherited from class ch.qos.logback.core.net.AbstractSocketAppender
DEFAULT_PORT, DEFAULT_QUEUE_SIZE, DEFAULT_RECONNECTION_DELAYFields inherited from class ch.qos.logback.core.AppenderBase
name, startedFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPST()protected voidpostProcessEvent(ILoggingEvent event)voidsetIncludeCallerData(boolean includeCallerData)Methods inherited from class ch.qos.logback.core.net.AbstractSocketAppender
append, connectionFailed, getEventDelayLimit, getPort, getQueueSize, getReconnectionDelay, getRemoteHost, getSocketFactory, newConnector, setEventDelayLimit, setPort, setQueueSize, setReconnectionDelay, setRemoteHost, start, stopMethods inherited from class ch.qos.logback.core.AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringMethods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
SocketAppender
public SocketAppender()
-
-
Method Details
-
postProcessEvent
- Specified by:
postProcessEventin classAbstractSocketAppender<ILoggingEvent>
-
setIncludeCallerData
public void setIncludeCallerData(boolean includeCallerData) -
getPST
- Specified by:
getPSTin classAbstractSocketAppender<ILoggingEvent>
-