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.
|
AbstractLayout.Builder<B extends AbstractLayout.Builder<B>> |
Subclasses can extend this abstract Builder.
|
AbstractStringLayout |
Abstract base class for Layouts that result in a String.
|
AbstractStringLayout.Builder<B extends AbstractStringLayout.Builder<B>> | |
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.
|
GelfLayout.Builder<B extends GelfLayout.Builder<B>> | |
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.
|
JsonLayout.Builder<B extends JsonLayout.Builder<B>> | |
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.
|
MarkerPatternSelector.Builder |
Custom MarkerPatternSelector builder.
|
PatternLayout |
A flexible layout configurable with pattern string.
|
PatternLayout.Builder |
Custom PatternLayout builder.
|
PatternLayout.SerializerBuilder | |
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.
|
ScriptPatternSelector.Builder |
Custom ScriptPatternSelector builder.
|
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.
|
SyslogLayout.Builder<B extends SyslogLayout.Builder<B>> |
Builds a SyslogLayout.
|
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-2017. 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.