## Uses of Interface
org.apache.log4j.spi.OptionHandler

Packages that use OptionHandler
org.apache.log4j: The main log4j package.
org.apache.log4j.helpers: This package is used internally.
org.apache.log4j.jdbc: The JDBCAppender provides for sending log events to a database.
org.apache.log4j.lf5
org.apache.log4j.net: Package for remote logging.
org.apache.log4j.nt: Package for NT event logging.
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
`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 to `System.out` or `System.err` using a layout specified by the user.
`class` `DailyRollingFileAppender` DailyRollingFileAppender extends `FileAppender` 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 a `Writer` or an `OutputStream` depending on the user's choice.

Uses of OptionHandler in org.apache.log4j.helpers

Classes in org.apache.log4j.helpers that implement OptionHandler
`class` `DateLayout` This abstract layout takes care of all the date related options and formatting work.
`class` `OnlyOnceErrorHandler` The `OnlyOnceErrorHandler` 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
`class` `JDBCAppender` The JDBCAppender provides for sending log events to a database.

Uses of OptionHandler in org.apache.log4j.lf5

Classes in org.apache.log4j.lf5 that implement OptionHandler
`class` `LF5Appender` `LF5Appender` logs events to a swing based logging console.

Uses of OptionHandler in org.apache.log4j.net

Classes in org.apache.log4j.net that implement OptionHandler
`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` Sends `LoggingEvent` objects to a remote a log server, usually a `SocketNode`.
`class` `SocketHubAppender` Sends `LoggingEvent` objects to a set of remote log servers, usually a `SocketNodes`.
`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.nt

Classes in org.apache.log4j.nt that implement OptionHandler
`class` `NTEventLogAppender` Append to the NT event log system.

Uses of OptionHandler in org.apache.log4j.spi

Subinterfaces of OptionHandler in org.apache.log4j.spi
`interface` `ErrorHandler` Appenders may delegate their error handling to `ErrorHandlers`.

Classes in org.apache.log4j.spi that implement OptionHandler
`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
`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` The `FallbackErrorHandler` 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
`class` `XMLLayout` The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd.

Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.