Uses of Interface
org.apache.logging.log4j.core.Appender
-
Packages that use Appender Package Description org.apache.log4j.bridge org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.appender Log4j 2 Appenders.org.apache.logging.log4j.core.appender.rewrite Apache Flume Appender.org.apache.logging.log4j.core.appender.routing Apache Flume Appender.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.jmx Log4j 2 JMX support. -
-
Uses of Appender in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement Appender Modifier and Type Class Description class
AppenderAdapter.Adapter
Methods in org.apache.log4j.bridge that return Appender Modifier and Type Method Description Appender
AppenderWrapper. getAppender()
Constructors in org.apache.log4j.bridge with parameters of type Appender Constructor Description AppenderWrapper(Appender appender)
-
Uses of Appender in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return types with arguments of type Appender Modifier and Type Method Description Map<String,Appender>
Logger. getAppenders()
This method is not exposed through the public API and is used primarily for unit testing.Methods in org.apache.logging.log4j.core with parameters of type Appender Modifier and Type Method Description void
Logger. addAppender(Appender appender)
This method is not exposed through the public API and is used primarily for unit testing.void
Logger. removeAppender(Appender appender)
This method is not exposed through the public API and is used primarily for unit testing. -
Uses of Appender in org.apache.logging.log4j.core.appender
Classes in org.apache.logging.log4j.core.appender that implement Appender Modifier and Type Class Description class
AbstractAppender
Abstract base class for Appenders.class
AbstractFileAppender<M extends OutputStreamManager>
Abstract File Appender.class
AbstractOutputStreamAppender<M extends OutputStreamManager>
Appends log events as bytes to a byte output stream.class
AbstractWriterAppender<M extends WriterManager>
Appends log events as strings to a writer.class
AsyncAppender
Appends to one or more Appenders asynchronously.class
ConsoleAppender
Appends log events toSystem.out
orSystem.err
using a layout specified by the user.class
CountingNoOpAppender
No-Operation Appender that counts events.class
FailoverAppender
The FailoverAppender will capture exceptions in an Appender and then route the event to a different appender.class
FileAppender
File Appender.class
HttpAppender
Sends log events over HTTP.class
MemoryMappedFileAppender
Memory Mapped File Appender.class
NullAppender
An Appender that ignores log events.class
OutputStreamAppender
Appends log events to a given output stream using a layout.class
RandomAccessFileAppender
File Appender.class
RollingFileAppender
An appender that writes to files and can roll over at intervals.class
RollingRandomAccessFileAppender
An appender that writes to random access files and can roll over at intervals.class
ScriptAppenderSelector
class
SmtpAppender
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.class
SocketAppender
An Appender that delivers events over socket connections.class
SyslogAppender
The Syslog Appender.class
WriterAppender
Appends log events to aWriter
.Methods in org.apache.logging.log4j.core.appender that return Appender Modifier and Type Method Description Appender
ScriptAppenderSelector.Builder. build()
Appender
AppenderSet. createAppender(String actualAppenderName, String sourceAppenderName)
Appender
DefaultErrorHandler. getAppender()
Constructors in org.apache.logging.log4j.core.appender with parameters of type Appender Constructor Description DefaultErrorHandler(Appender appender)
-
Uses of Appender in org.apache.logging.log4j.core.appender.rewrite
Classes in org.apache.logging.log4j.core.appender.rewrite that implement Appender Modifier and Type Class Description class
RewriteAppender
This Appender allows the logging event to be manipulated before it is processed by other Appenders. -
Uses of Appender in org.apache.logging.log4j.core.appender.routing
Classes in org.apache.logging.log4j.core.appender.routing that implement Appender Modifier and Type Class Description class
RoutingAppender
This Appender "routes" between various Appenders, some of which can be references to Appenders defined earlier in the configuration while others can be dynamically created within this Appender as required. -
Uses of Appender in org.apache.logging.log4j.core.config
Methods in org.apache.logging.log4j.core.config with type parameters of type Appender Modifier and Type Method Description <T extends Appender>
TAbstractConfiguration. getAppender(String appenderName)
Returns the Appender with the specified name.<T extends Appender>
TConfiguration. getAppender(String name)
Returns the Appender with the specified name.Methods in org.apache.logging.log4j.core.config that return Appender Modifier and Type Method Description Appender
AppenderControl. getAppender()
Returns the Appender.Methods in org.apache.logging.log4j.core.config that return types with arguments of type Appender Modifier and Type Method Description Map<String,Appender>
AppenderControlArraySet. asMap()
Returns all Appenders as a Map.static ConcurrentMap<String,Appender>
AppendersPlugin. createAppenders(Appender[] appenders)
Creates a Map of the Appenders.Map<String,Appender>
AbstractConfiguration. getAppenders()
Returns a Map containing all the Appenders and their name.Map<String,Appender>
Configuration. getAppenders()
Returns a Map containing all the Appenders and their name.Map<String,Appender>
LoggerConfig. getAppenders()
Returns all Appenders as a Map.Methods in org.apache.logging.log4j.core.config with parameters of type Appender Modifier and Type Method Description void
AbstractConfiguration. addAppender(Appender appender)
Adds an Appender to the configuration.void
Configuration. addAppender(Appender appender)
void
LoggerConfig. addAppender(Appender appender, Level level, Filter filter)
Adds an Appender to the LoggerConfig.void
AbstractConfiguration. addLoggerAppender(Logger logger, Appender appender)
Associates an Appender with a LoggerConfig.void
Configuration. addLoggerAppender(Logger logger, Appender appender)
static ConcurrentMap<String,Appender>
AppendersPlugin. createAppenders(Appender[] appenders)
Creates a Map of the Appenders.Constructors in org.apache.logging.log4j.core.config with parameters of type Appender Constructor Description AppenderControl(Appender appender, Level level, Filter filter)
Constructor. -
Uses of Appender in org.apache.logging.log4j.core.jmx
Constructors in org.apache.logging.log4j.core.jmx with parameters of type Appender Constructor Description AppenderAdmin(String contextName, Appender appender)
Constructs a newAppenderAdmin
with the specified contextName and appender.
-