@Plugin(name="GuiLogEvent",
category="Core",
elementType="appender",
printObject=true)
public class GuiLogEventAppender
extends org.apache.logging.log4j.core.appender.AbstractAppender
GuiLogEventBus
.Modifier | Constructor and Description |
---|---|
protected |
GuiLogEventAppender(String name,
org.apache.logging.log4j.core.Filter filter,
org.apache.logging.log4j.core.Layout<? extends Serializable> layout,
boolean ignoreExceptions) |
Modifier and Type | Method and Description |
---|---|
void |
append(org.apache.logging.log4j.core.LogEvent logEvent) |
static GuiLogEventAppender |
createAppender(String name,
boolean ignoreExceptions,
org.apache.logging.log4j.core.Layout<? extends Serializable> layout,
org.apache.logging.log4j.core.Filter filter) |
org.apache.logging.log4j.core.StringLayout |
getStringLayout() |
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 GuiLogEventAppender(String name, org.apache.logging.log4j.core.Filter filter, org.apache.logging.log4j.core.Layout<? extends Serializable> layout, boolean ignoreExceptions)
public void append(org.apache.logging.log4j.core.LogEvent logEvent)
@PluginFactory public static GuiLogEventAppender createAppender(@PluginAttribute(value="name") String name, @PluginAttribute(value="ignoreExceptions") boolean ignoreExceptions, @PluginElement(value="Layout") org.apache.logging.log4j.core.Layout<? extends Serializable> layout, @PluginElement(value="Filters") org.apache.logging.log4j.core.Filter filter)
public org.apache.logging.log4j.core.StringLayout getStringLayout()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.