public class DropwizardSocketAppender<E extends ch.qos.logback.core.spi.DeferredProcessingAware>
extends ch.qos.logback.core.OutputStreamAppender<E>
ResilientSocketOutputStream
.Constructor and Description |
---|
DropwizardSocketAppender(String host,
int port,
int connectionTimeoutMs,
int sendBufferSize,
SocketFactory socketFactory) |
Modifier and Type | Method and Description |
---|---|
protected OutputStream |
socketOutputStream() |
void |
start() |
append, closeOutputStream, getEncoder, getOutputStream, isImmediateFlush, setEncoder, setImmediateFlush, setLayout, setOutputStream, stop, subAppend, writeOut
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public DropwizardSocketAppender(String host, int port, int connectionTimeoutMs, int sendBufferSize, SocketFactory socketFactory)
public void start()
start
in interface ch.qos.logback.core.spi.LifeCycle
start
in class ch.qos.logback.core.OutputStreamAppender<E extends ch.qos.logback.core.spi.DeferredProcessingAware>
protected OutputStream socketOutputStream()
Copyright © 2020. All rights reserved.