Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.appender.db.jdbc |
The JDBC Appender supports writing log events to a relational database using standard JDBC connections.
|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
org.apache.logging.log4j.core.net |
Log4j 2 network support.
|
Class and Description |
---|
Encoder
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. |
Class and Description |
---|
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |
LoggerFields
A LoggerFields container.
|
Class and Description |
---|
PatternLayout
A flexible layout configurable with pattern string.
|
Class and Description |
---|
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |
Class and Description |
---|
AbstractCsvLayout
A superclass for Comma-Separated Value (CSV) layouts.
|
AbstractLayout
Abstract base class for Layouts.
|
AbstractLayout.Builder
Subclasses can extend this abstract Builder.
|
AbstractStringLayout
Abstract base class for Layouts that result in a String.
|
AbstractStringLayout.Builder |
AbstractStringLayout.Serializer |
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |
CsvLogEventLayout
A Comma-Separated Value (CSV) layout to log events.
|
Encoder
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. |
GelfLayout
Lays out events in the Graylog Extended Log Format (GELF) 1.1.
|
GelfLayout.Builder |
GelfLayout.CompressionType |
HtmlLayout
Outputs events as rows in an HTML table on an HTML page.
|
HtmlLayout.Builder |
HtmlLayout.FontSize
Possible font sizes
|
JsonLayout
Appends a series of JSON events as strings serialized as bytes.
|
JsonLayout.Builder |
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 |
PatternSelector
Allows different patterns to be used with the PatternLayout based on some selection criteria.
|
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
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. |
SyslogLayout
Formats a log event as a BSD Log record.
|
SyslogLayout.Builder
Builds a SyslogLayout.
|
XmlLayout
Appends a series of
event elements as defined in the log4j.dtd. |
XmlLayout.Builder |
YamlLayout
Appends a series of YAML events as strings serialized as bytes.
|
YamlLayout.Builder |
Class and Description |
---|
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |
Copyright © 1999-2021 The 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.