Uses of Interface
org.apache.log4j.spi.OptionHandler
-
Packages that use OptionHandler Package Description org.apache.log4j The main log4j package.org.apache.log4j.helpers This package is used internally.org.apache.log4j.jdbc org.apache.log4j.net Package for remote logging.org.apache.log4j.rewrite org.apache.log4j.spi Contains part of the System Programming Interface (SPI) needed to extend log4j.org.apache.log4j.varia Contains various appenders, filters and other odds and ends.org.apache.log4j.xml XML based components. -
-
Uses of OptionHandler in org.apache.log4j
Classes in org.apache.log4j that implement OptionHandler Modifier and Type Class Description class
AppenderSkeleton
Abstract superclass of the other appenders in the package.class
AsyncAppender
The AsyncAppender lets users log events asynchronously.class
ConsoleAppender
ConsoleAppender appends log events toSystem.out
orSystem.err
using a layout specified by the user.class
DailyRollingFileAppender
DailyRollingFileAppender extendsFileAppender
so that the underlying file is rolled over at a user chosen frequency.class
EnhancedPatternLayout
This class is an enhanced version of org.apache.log4j.PatternLayout which was originally developed as part of the abandoned log4j 1.3 effort and has been available in the extras companion.class
FileAppender
FileAppender appends log events to a file.class
HTMLLayout
This layout outputs events in a HTML table.class
Layout
Extend this abstract class to create your own log layout format.class
PatternLayout
A flexible layout configurable with pattern string.class
RollingFileAppender
RollingFileAppender extends FileAppender to backup the log files when they reach a certain size.class
SimpleLayout
SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself.class
TTCCLayout
TTCC layout format consists of time, thread, category and nested diagnostic context information, hence the name.class
WriterAppender
WriterAppender appends log events to aWriter
or anOutputStream
depending on the user's choice. -
Uses of OptionHandler in org.apache.log4j.helpers
Classes in org.apache.log4j.helpers that implement OptionHandler Modifier and Type Class Description class
DateLayout
This abstract layout takes care of all the date related options and formatting work.class
OnlyOnceErrorHandler
TheOnlyOnceErrorHandler
implements log4j's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all following errors. -
Uses of OptionHandler in org.apache.log4j.jdbc
Classes in org.apache.log4j.jdbc that implement OptionHandler Modifier and Type Class Description class
JDBCAppender
The JDBCAppender provides for sending log events to a database. -
Uses of OptionHandler in org.apache.log4j.net
Classes in org.apache.log4j.net that implement OptionHandler Modifier and Type Class Description class
JMSAppender
A simple appender that publishes events to a JMS Topic.class
SMTPAppender
Send an e-mail when a specific logging event occurs, typically on errors or fatal errors.class
SocketAppender
SendsLoggingEvent
objects to a remote a log server, usually aSocketNode
.class
SocketHubAppender
SendsLoggingEvent
objects to a set of remote log servers, usually aSocketNodes
.class
SyslogAppender
Use SyslogAppender to send log messages to a remote syslog daemon.class
TelnetAppender
The TelnetAppender is a log4j appender that specializes in writing to a read-only socket. -
Uses of OptionHandler in org.apache.log4j.rewrite
Classes in org.apache.log4j.rewrite that implement OptionHandler Modifier and Type Class Description class
RewriteAppender
This appender forwards a logging request to another appender after possibly rewriting the logging event. -
Uses of OptionHandler in org.apache.log4j.spi
Subinterfaces of OptionHandler in org.apache.log4j.spi Modifier and Type Interface Description interface
ErrorHandler
Appenders may delegate their error handling toErrorHandlers
.Classes in org.apache.log4j.spi that implement OptionHandler Modifier and Type Class Description class
Filter
Users should extend this class to implement customized logging event filtering. -
Uses of OptionHandler in org.apache.log4j.varia
Classes in org.apache.log4j.varia that implement OptionHandler Modifier and Type Class Description class
DenyAllFilter
This filter drops all logging events.class
ExternallyRolledFileAppender
This appender listens on a socket on the port specified by the Port property for a "RollOver" message.class
FallbackErrorHandler
TheFallbackErrorHandler
implements the ErrorHandler interface such that a secondary appender may be specified.class
LevelMatchFilter
This is a very simple filter based on level matching.class
LevelRangeFilter
This is a very simple filter based on level matching, which can be used to reject messages with priorities outside a certain range.class
NullAppender
A NullAppender merely exists, it never outputs a message to any device.class
StringMatchFilter
This is a very simple filter based on string matching. -
Uses of OptionHandler in org.apache.log4j.xml
Classes in org.apache.log4j.xml that implement OptionHandler Modifier and Type Class Description class
XMLLayout
The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd.
-