@Plugin(name="EditorConsole",
category="Core",
elementType="appender",
printObject=true)
public final class EditorConsoleAppender
extends org.apache.logging.log4j.core.appender.AbstractAppender
| Modifier and Type | Method and Description |
|---|---|
void |
activateOptions()
Taken from the previous EditorConsoleAppender.
|
void |
append(org.apache.logging.log4j.core.LogEvent logEvent)
This is the overridden method from the Appender interface.
|
static EditorConsoleAppender |
createAppender(String name,
org.apache.logging.log4j.core.Filter filter,
org.apache.logging.log4j.core.Layout<? extends Serializable> layout,
String ignore,
String buffSize)
Creates a EditorConsoleAppender instance with
attributes configured in log4j2.properties.
|
error, error, error, getHandler, getLayout, getName, ignoreExceptions, parseInt, setHandler, toSerializable, toStringaddFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, start, stop, stopequalsImpl, getState, getStatusLogger, hashCodeImpl, initialize, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop@PluginFactory public static EditorConsoleAppender createAppender(@PluginAttribute(value="name") String name, @PluginElement(value="Filters") org.apache.logging.log4j.core.Filter filter, @PluginElement(value="Layout") org.apache.logging.log4j.core.Layout<? extends Serializable> layout, @PluginAttribute(value="ignoreExceptions") String ignore, @PluginAttribute(value="buffSize") String buffSize)
name - appender namefilter - null if not specifiedlayout - pattern of log messagesignore - default is truepublic void activateOptions()
public void append(org.apache.logging.log4j.core.LogEvent logEvent)
Appender.
This allows to write log events to preferred destination.
Converts the default log events to tenant aware log events and writes to a CircularBuffer
logEvent - the LogEvent objectCopyright © 2019 WSO2. All rights reserved.