Appender, Filterable, LifeCycle, LifeCycle2@Plugin(name="Http", category="Core", elementType="appender", printObject=true) public final class HttpAppender extends AbstractAppender
| Modifier and Type | Class | Description |
|---|---|---|
static class |
HttpAppender.Builder<B extends HttpAppender.Builder<B>> |
Builds HttpAppender instances.
|
LifeCycle.StateDEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGERELEMENT_TYPE| Modifier and Type | Method | Description |
|---|---|---|
void |
append(LogEvent event) |
Logs a LogEvent using whatever logic this Appender wishes to use.
|
static <B extends HttpAppender.Builder<B>> |
newBuilder() |
|
void |
start() |
Make the Filter available for use.
|
boolean |
stop(long timeout,
TimeUnit timeUnit) |
Cleanup the Filter.
|
String |
toString() |
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, setHandleraddFilter, getFilter, hasFilter, isFiltered, removeFilter, stopequalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop@PluginBuilderFactory public static <B extends HttpAppender.Builder<B>> B newBuilder()
public void start()
AbstractFilterablestart in interface LifeCyclestart in class AbstractFilterablepublic void append(LogEvent event)
Appenderevent - The LogEvent.public boolean stop(long timeout,
TimeUnit timeUnit)
AbstractFilterablestop in interface LifeCycle2stop in class AbstractFilterabletimeout - the maximum time to waittimeUnit - the time unit of the timeout argumentpublic String toString()
toString in class AbstractAppenderCopyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.