Interface | Description |
---|---|
AbstractStringLayout.Serializer | |
AbstractStringLayout.Serializer2 |
Variation of
AbstractStringLayout.Serializer that avoids allocating temporary objects. |
ByteBufferDestination |
ByteBufferDestination is the destination that
Encoder s write binary data to. |
Encoder<T> |
Objects implementing the
Encoder interface know how to convert an object to some binary representation and
write the result to a ByteBuffer , ideally without creating temporary objects. |
PatternSelector |
Allows different patterns to be used with the PatternLayout based on some selection criteria.
|
Class | Description |
---|---|
AbstractCsvLayout |
A superclass for Comma-Separated Value (CSV) layouts.
|
AbstractLayout<T extends Serializable> |
Abstract base class for Layouts.
|
AbstractStringLayout |
Abstract base class for Layouts that result in a String.
|
CsvLogEventLayout |
A Comma-Separated Value (CSV) layout to log events.
|
CsvParameterLayout |
A Comma-Separated Value (CSV) layout to log event parameters.
|
GelfLayout |
Lays out events in the Graylog Extended Log Format (GELF) 1.1.
|
HtmlLayout |
Outputs events as rows in an HTML table on an HTML page.
|
HtmlLayout.Builder | |
JsonLayout |
Appends a series of JSON events as strings serialized as bytes.
|
LockingStringBuilderEncoder |
Encoder for StringBuilders that locks on the ByteBufferDestination.
|
LoggerFields |
A LoggerFields container.
|
MarkerPatternSelector |
Selects the pattern to use based on the Marker in the LogEvent.
|
PatternLayout |
A flexible layout configurable with pattern string.
|
PatternLayout.Builder |
Custom PatternLayout builder.
|
PatternMatch |
PatternMatch configuration item.
|
PatternMatch.Builder | |
Rfc5424Layout |
Formats a log event in accordance with RFC 5424.
|
ScriptPatternSelector |
Selects the pattern to use based on the Marker in the LogEvent.
|
SerializedLayout |
Formats a
LogEvent in its Java serialized form. |
StringBuilderEncoder |
Encoder for StringBuilders that uses ThreadLocals to avoid locking as much as possible.
|
SyslogLayout |
Formats a log event as a BSD Log record.
|
TextEncoderHelper |
Helper class to encode text to binary data without allocating temporary objects.
|
XmlLayout |
Appends a series of
event elements as defined in the log4j.dtd. |
YamlLayout |
Appends a series of YAML events as strings serialized as bytes.
|
Enum | Description |
---|---|
GelfLayout.CompressionType | |
HtmlLayout.FontSize |
Possible font sizes
|
Layout
plugins should use the
plugin category
Core
and the
element type
layout
.Copyright © 1999-2021 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.