Package | Description |
---|---|
org.apache.log4j |
Log4j 1.x compatibility layer.
|
org.apache.log4j.bridge | |
org.apache.log4j.builders | |
org.apache.log4j.builders.layout | |
org.apache.log4j.config |
Log4j 1.x compatibility layer.
|
org.apache.log4j.helpers |
Log4j 1.x compatibility layer.
|
org.apache.log4j.xml |
Log4j 1.x compatibility layer.
|
Modifier and Type | Class and Description |
---|---|
class |
PatternLayout |
class |
SimpleLayout
Simple-layout.
|
Modifier and Type | Field and Description |
---|---|
protected Layout |
AppenderSkeleton.layout |
Modifier and Type | Method and Description |
---|---|
Layout |
AppenderSkeleton.getLayout() |
Layout |
Appender.getLayout()
Returns this appenders layout.
|
Modifier and Type | Method and Description |
---|---|
void |
AppenderSkeleton.setLayout(Layout layout) |
void |
Appender.setLayout(Layout layout)
Set the
Layout for this appender. |
Constructor and Description |
---|
ConsoleAppender(Layout layout)
Constructs a configured appender.
|
ConsoleAppender(Layout layout,
String target)
Constructs a configured appender.
|
FileAppender(Layout layout,
String filename)
Constructs a FileAppender and open the file designated by
filename . |
FileAppender(Layout layout,
String filename,
boolean append)
Constructs a FileAppender and open the file designated by
filename . |
FileAppender(Layout layout,
String filename,
boolean append,
boolean bufferedIO,
int bufferSize)
Constructs a
FileAppender and open the file designated by filename . |
RollingFileAppender(Layout layout,
String filename)
Constructs a FileAppender and open the file designated by
filename . |
RollingFileAppender(Layout layout,
String filename,
boolean append)
Constructs a RollingFileAppender and open the file designated by
filename . |
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 . |
Modifier and Type | Class and Description |
---|---|
class |
LayoutWrapper
Bridge between the Log4j 1 Layout and a Log4j 2 Layout.
|
Modifier and Type | Method and Description |
---|---|
Layout |
AppenderWrapper.getLayout() |
Modifier and Type | Method and Description |
---|---|
void |
AppenderWrapper.setLayout(Layout layout) |
Constructor and Description |
---|
LayoutAdapter(Layout layout) |
Modifier and Type | Method and Description |
---|---|
Layout |
BuilderManager.parseLayout(String className,
Element layoutElement,
XmlConfiguration config) |
Modifier and Type | Method and Description |
---|---|
Layout |
PatternLayoutBuilder.parse(Element layoutElement,
XmlConfiguration config) |
Layout |
SimpleLayoutBuilder.parse(Element layoutElement,
XmlConfiguration config) |
Layout |
TTCCLayoutBuilder.parse(Element layoutElement,
XmlConfiguration config) |
Layout |
HtmlLayoutBuilder.parse(Element layoutElement,
XmlConfiguration config) |
Layout |
PatternLayoutBuilder.parse(PropertiesConfiguration config) |
Layout |
SimpleLayoutBuilder.parse(PropertiesConfiguration config) |
Layout |
TTCCLayoutBuilder.parse(PropertiesConfiguration config) |
Layout |
HtmlLayoutBuilder.parse(PropertiesConfiguration config) |
Modifier and Type | Method and Description |
---|---|
Layout |
PropertiesConfiguration.parseLayout(String layoutPrefix,
String appenderName,
Properties props) |
Modifier and Type | Class and Description |
---|---|
class |
DateLayout
This abstract layout takes care of all the date related options and formatting work.
|
Modifier and Type | Method and Description |
---|---|
Layout |
XmlConfiguration.parseLayout(Element layoutElement)
Used internally to parse a layout element.
|
Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.