Package | Description |
---|---|
org.apache.log4j.layout | |
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
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 | Interface and Description |
---|---|
interface |
Layout<T extends java.io.Serializable>
Lays out a LogEvent in different formats.
|
interface |
StringLayout
Instantiates the @{link Layout} type for String-based layouts.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLayout<T extends java.io.Serializable>
Abstract base class for Layouts.
|
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 |
LockingStringBuilderEncoder
Encoder for StringBuilders that locks on the ByteBufferDestination.
|
class |
PatternLayout
A flexible layout configurable with pattern string.
|
class |
Rfc5424Layout
Formats a log event in accordance with RFC 5424.
|
class |
SerializedLayout
Formats a
LogEvent in its Java serialized form. |
class |
StringBuilderEncoder
Encoder for StringBuilders that uses ThreadLocals to avoid locking as much as possible.
|
class |
SyslogLayout
Formats a log event as a BSD Log record.
|
Modifier and Type | Field and Description |
---|---|
private Encoder<java.lang.StringBuilder> |
AbstractStringLayout.textEncoder |
Modifier and Type | Method and Description |
---|---|
protected Encoder<java.lang.StringBuilder> |
AbstractStringLayout.getStringBuilderEncoder()
Returns a
Encoder<StringBuilder> that this Layout implementation can use for encoding log events. |