@Plugin(name="Solon",
category="Core",
elementType="appender",
printObject=true)
public final class SolonAppender
extends org.apache.logging.log4j.core.appender.AbstractAppender
限定符 | 构造器和说明 |
---|---|
protected |
SolonAppender(java.lang.String name,
org.apache.logging.log4j.core.Filter filter,
org.apache.logging.log4j.core.Layout<? extends java.io.Serializable> layout,
boolean ignoreExceptions) |
限定符和类型 | 方法和说明 |
---|---|
void |
append(org.apache.logging.log4j.core.LogEvent e) |
static SolonAppender |
createAppender(java.lang.String name,
org.apache.logging.log4j.core.Layout<? extends java.io.Serializable> layout,
org.apache.logging.log4j.core.Filter filter,
java.lang.String otherAttribute) |
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, requiresLocation, setHandler, toSerializable, toString
addFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, start, stop, stop
equalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
protected SolonAppender(java.lang.String name, org.apache.logging.log4j.core.Filter filter, org.apache.logging.log4j.core.Layout<? extends java.io.Serializable> layout, boolean ignoreExceptions)
public void append(org.apache.logging.log4j.core.LogEvent e)
@PluginFactory public static SolonAppender createAppender(@PluginAttribute(value="name") java.lang.String name, @PluginElement(value="Layout") org.apache.logging.log4j.core.Layout<? extends java.io.Serializable> layout, @PluginElement(value="Filter") org.apache.logging.log4j.core.Filter filter, @PluginAttribute(value="otherAttribute") java.lang.String otherAttribute)