Package | Description |
---|---|
org.apache.log4j.layout | |
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.appender.db |
The classes in this package and sub packages provide appenders for various types of databases and methods for
accessing databases.
|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Log4j1XmlLayout |
Port of XMLLayout in Log4j 1.x.
|
Modifier and Type | Field | Description |
---|---|---|
protected StringLayout |
WriterManager.layout |
Modifier and Type | Method | Description |
---|---|---|
StringLayout |
AbstractWriterAppender.getStringLayout() |
Modifier and Type | Method | Description |
---|---|---|
static WriterAppender |
WriterAppender.createAppender(StringLayout layout,
Filter filter,
Writer target,
String name,
boolean follow,
boolean ignore) |
Creates a WriterAppender.
|
WriterAppender.Builder |
WriterAppender.Builder.setLayout(StringLayout aLayout) |
Constructor | Description |
---|---|
AbstractWriterAppender(String name,
StringLayout layout,
Filter filter,
boolean ignoreExceptions,
boolean immediateFlush,
M manager) |
Instantiates.
|
WriterManager(Writer writer,
String streamName,
StringLayout layout,
boolean writeHeader) |
Modifier and Type | Method | Description |
---|---|---|
StringLayout |
ColumnMapping.getLayout() |
Modifier and Type | Method | Description |
---|---|---|
ColumnMapping.Builder |
ColumnMapping.Builder.setLayout(StringLayout layout) |
Layout of value to write to database (before type conversion).
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractCsvLayout |
A superclass for Comma-Separated Value (CSV) layouts.
|
class |
AbstractStringLayout |
Abstract base class for Layouts that result in a String.
|
class |
CsvLogEventLayout |
A Comma-Separated Value (CSV) layout to log events.
|
class |
CsvParameterLayout |
A Comma-Separated Value (CSV) layout to log event parameters.
|
class |
GelfLayout |
Lays out events in the Graylog Extended Log Format (GELF) 1.1.
|
class |
HtmlLayout |
Outputs events as rows in an HTML table on an HTML page.
|
class |
JsonLayout |
Appends a series of JSON events as strings serialized as bytes.
|
class |
PatternLayout |
A flexible layout configurable with pattern string.
|
class |
Rfc5424Layout |
Formats a log event in accordance with RFC 5424.
|
class |
SyslogLayout |
Formats a log event as a BSD Log record.
|
class |
XmlLayout |
Appends a series of
event elements as defined in the log4j.dtd. |
class |
YamlLayout |
Appends a series of YAML events as strings serialized as bytes.
|
Copyright © 1999-2018. 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.