Log4j 0.9.1

Uses of Class
org.log4j.Layout

Packages that use Layout
org.log4j The main package of log4j. 
org.log4j.examples Example usage of log4j including source code. 
org.log4j.helpers This package is used internally. 
org.log4j.net Package for remote logging. 
org.log4j.nt Package for NT event logging. 
org.log4j.performance Package to measure the performance of the different log4j components. 
org.log4j.varia Contains various appenders, filters and other odds and ends. 
org.log4j.xml XML based components. 
 

Uses of Layout in org.log4j
 

Subclasses of Layout in org.log4j
 class PatternLayout
          A flexible layout configurable with pattern string.
 class SimpleLayout
          SimpleLayout consists of the priority 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.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.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.log4j with parameters of type Layout
FileAppender(Layout layout, OutputStream os)
          Instantiate a FileAppender and set the output destination to a new OutputStreamWriter initialized with os as its OutputStream.
FileAppender(Layout layout, Writer writer)
          Instantiate a FileAppender and set the output destination to writer.
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.
RollingFileAppender(Layout layout, OutputStream os)
          Deprecated. This constructor does not allow to roll files and will disappear in the near future.
RollingFileAppender(Layout layout, Writer writer)
          Deprecated. This constructor does not allow to roll files and will disappear in the near future.
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.log4j.examples
 

Subclasses of Layout in org.log4j.examples
 class MyPatternLayout
          Example showing how to extend PatternLayout to recognize additional conversion characters.
 

Uses of Layout in org.log4j.helpers
 

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

Uses of Layout in org.log4j.net
 

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

Uses of Layout in org.log4j.nt
 

Constructors in org.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.log4j.performance
 

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

Uses of Layout in org.log4j.varia
 

Constructors in org.log4j.varia with parameters of type Layout
ResilientFileAppender(Layout layout, Writer writer)
          This constructor does nothing but call its super-class constructor with the same parameters.
 

Uses of Layout in org.log4j.xml
 

Subclasses of Layout in org.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.log4j.xml that return Layout
protected  Layout DOMConfigurator.parseLayout(org.w3c.dom.Element layout_element)
          Used internally to parse a layout element.
 


Log4j 0.9.1

Please notify me about new log4j releases.