Appender
, Filterable
, LifeCycle
, LifeCycle2
@Plugin(name="ScriptAppenderSelector", category="Core", elementType="appender", printObject=true) public class ScriptAppenderSelector extends AbstractAppender
Modifier and Type | Class | Description |
---|---|---|
static class |
ScriptAppenderSelector.Builder |
Builds an appender.
|
LifeCycle.State
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER
ELEMENT_TYPE
Modifier and Type | Method | Description |
---|---|---|
void |
append(LogEvent event) |
Logs a LogEvent using whatever logic this Appender wishes to use.
|
static ScriptAppenderSelector.Builder |
newBuilder() |
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, setHandler, toSerializable, toString
addFilter, getFilter, hasFilter, isFiltered, removeFilter, start, stop, stop
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
@PluginBuilderFactory public static ScriptAppenderSelector.Builder newBuilder()
public void append(LogEvent event)
Appender
event
- The LogEvent.Copyright © 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.