@Plugin(name="LlapWrappedAppender",
category="Core",
elementType="appender",
printObject=true,
deferChildren=true)
public class LlapWrappedAppender
extends org.apache.logging.log4j.core.appender.AbstractAppender
Constructor and Description |
---|
LlapWrappedAppender(String name,
org.apache.logging.log4j.core.config.Node node,
org.apache.logging.log4j.core.config.Configuration config,
boolean renameOnClose,
String renamedFileSuffix) |
Modifier and Type | Method and Description |
---|---|
void |
append(org.apache.logging.log4j.core.LogEvent event) |
static LlapWrappedAppender |
createAppender(String name,
String renameFileOnCloseProvided,
String renamedFileSuffixProvided,
org.apache.logging.log4j.core.config.Node node,
org.apache.logging.log4j.core.config.Configuration config) |
void |
start() |
void |
stop() |
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, setHandler, toString
addFilter, getFilter, hasFilter, isFiltered, removeFilter
equalsImpl, getState, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping
public void start()
start
in interface org.apache.logging.log4j.core.LifeCycle
start
in class org.apache.logging.log4j.core.filter.AbstractFilterable
public void append(org.apache.logging.log4j.core.LogEvent event)
public void stop()
stop
in interface org.apache.logging.log4j.core.LifeCycle
stop
in class org.apache.logging.log4j.core.filter.AbstractFilterable
@PluginFactory public static LlapWrappedAppender createAppender(@PluginAttribute(value="name") String name, @PluginAttribute(value="renameFileOnClose") String renameFileOnCloseProvided, @PluginAttribute(value="renamedFileSuffix") String renamedFileSuffixProvided, @PluginNode org.apache.logging.log4j.core.config.Node node, @PluginConfiguration org.apache.logging.log4j.core.config.Configuration config)
Copyright © 2021 The Apache Software Foundation. All rights reserved.