Class | Description |
---|---|
AbstractLayout<T extends Serializable> |
Abstract base class for Layouts.
|
AbstractStringLayout |
Abstract base class for Layouts that result in a String.
|
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.
|
LoggerFields |
A LoggerFields container.
|
PatternLayout |
A flexible layout configurable with pattern string.
|
PatternLayout.Builder |
Custom PatternLayout builder.
|
Rfc5424Layout |
Formats a log event in accordance with RFC 5424.
|
SerializedLayout |
Formats a
LogEvent in its Java serialized form. |
SyslogLayout |
Formats a log event as a BSD Log record.
|
XmlLayout |
Appends a series of
event elements as defined in the log4j.dtd. |
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.