Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Log4j 1.2.8
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.log4j.Layout

Packages that use Layout
org.apache.log4j | The main log4j package.
org.apache.log4j.helpers | This package is used internally.
org.apache.log4j.jmx | This package lets you manage log4j settings using JMX.
org.apache.log4j.net | Package for remote logging.
org.apache.log4j.nt | Package for NT event logging.
org.apache.log4j.performance | Package to measure the performance of the different log4j components.
org.apache.log4j.xml | XML based components.

Uses of Layout in org.apache.log4j

Subclasses of Layout in org.apache.log4j
`class` | `HTMLLayout` This layout outputs events in a HTML table.
`class` | `PatternLayout` A flexible layout configurable with pattern string.
`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.

Fields in org.apache.log4j declared as Layout
`protected Layout` | `AppenderSkeleton.layout` The layout variable does not need to be set if the appender implementation has its own layout.

Methods in org.apache.log4j that return Layout
`Layout` | `AppenderSkeleton.getLayout()` Returns the layout of this appender.
`Layout` | `Appender.getLayout()` Returns this appenders layout.

Methods in org.apache.log4j with parameters of type Layout
`void` | `AppenderSkeleton.setLayout(Layout layout)` Set the layout for this appender.
`void` | `Appender.setLayout(Layout layout)` Set the `Layout` for this appender.

Constructors in org.apache.log4j with parameters of type Layout
`WriterAppender(Layout layout, OutputStream os)` Instantiate a WriterAppender and set the output destination to a new `OutputStreamWriter` initialized with `os` as its `OutputStream`.
`WriterAppender(Layout layout, Writer writer)` Instantiate a WriterAppender and set the output destination to `writer`.
`FileAppender(Layout layout, String filename, boolean append, boolean bufferedIO, int bufferSize)` Instantiate a `FileAppender` and open the file designated by `filename`.
`FileAppender(Layout layout, String filename, boolean append)` Instantiate a FileAppender and open the file designated by `filename`.
`FileAppender(Layout layout, String filename)` Instantiate a FileAppender and open the file designated by `filename`.
`ConsoleAppender(Layout layout)`
`ConsoleAppender(Layout layout, String target)`
`DailyRollingFileAppender(Layout layout, String filename, String datePattern)` Instantiate a `DailyRollingFileAppender` and open the file designated by `filename`.
`RollingFileAppender(Layout layout, String filename, boolean append)` Instantiate a RollingFileAppender and open the file designated by `filename`.
`RollingFileAppender(Layout layout, String filename)` Instantiate a FileAppender and open the file designated by `filename`.

Uses of Layout in org.apache.log4j.helpers

Subclasses of Layout in org.apache.log4j.helpers
`class` | `DateLayout` This abstract layout takes care of all the date related options and formatting work.

Uses of Layout in org.apache.log4j.jmx

Constructors in org.apache.log4j.jmx with parameters of type Layout
`LayoutDynamicMBean(Layout layout)`

Uses of Layout in org.apache.log4j.net

Constructors in org.apache.log4j.net with parameters of type Layout
`SyslogAppender(Layout layout, int syslogFacility)`
`SyslogAppender(Layout layout, String syslogHost, int syslogFacility)`

Uses of Layout in org.apache.log4j.nt

Constructors in org.apache.log4j.nt with parameters of type Layout
`NTEventLogAppender(Layout layout)`
`NTEventLogAppender(String source, Layout layout)`
`NTEventLogAppender(String server, String source, Layout layout)`

Uses of Layout in org.apache.log4j.performance

Constructors in org.apache.log4j.performance with parameters of type Layout
`NullAppender(Layout layout)`

Uses of Layout in org.apache.log4j.xml

Subclasses of Layout in org.apache.log4j.xml
`class` | `XMLLayout` The output of the XMLLayout consists of a series of log4j:event elements as defined in the log4j.dtd.

Methods in org.apache.log4j.xml that return Layout
`protected Layout` | `DOMConfigurator.parseLayout(Element layout_element)` Used internally to parse a layout element.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Log4j 1.2.8
PREV NEXT | FRAMES NO FRAMES

Copyright 2000-2002 Apache Software Foundation.