Package | Description |
---|---|
org.apache.log4j.layout | |
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
Modifier and Type | Class and Description |
---|---|
class |
Log4j1XmlLayout
Port of XMLLayout in Log4j 1.x.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStringLayout
Abstract base class for Layouts that result in a String.
|
class |
HtmlLayout
Outputs events as rows in an HTML table on an HTML page.
|
class |
MessageLayout
|
class |
PatternLayout
A flexible layout configurable with pattern string.
|
class |
Rfc5424Layout
Formats a log event in accordance with RFC 5424.
|
class |
SerializedLayout
Deprecated.
Java Serialization has inherent security weaknesses, see https://www.owasp.org/index.php/Deserialization_of_untrusted_data .
Using this layout is no longer recommended. An alternative layout containing the same information is
JsonLayout when configured with properties="true". Deprecated since 2.9. |
class |
SyslogLayout
Formats a log event as a BSD Log record.
|