public class DropwizardUdpSocketAppender<E extends ch.qos.logback.core.spi.DeferredProcessingAware>
extends ch.qos.logback.core.OutputStreamAppender<E>
Constructor and Description |
---|
DropwizardUdpSocketAppender(String host,
int port) |
Modifier and Type | Method and Description |
---|---|
protected OutputStream |
datagramSocketOutputStream(String host,
int port) |
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 DropwizardUdpSocketAppender(String host, int port)
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 datagramSocketOutputStream(String host, int port)
Copyright © 2019. All rights reserved.