Package | Description |
---|---|
org.apache.log4j.bridge | |
org.apache.log4j.layout | |
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
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 |
---|
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |
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 |
---|
AbstractLayout
Abstract base class for Layouts.
|
AbstractStringLayout
Abstract base class for Layouts that result in a String.
|
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |
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 |
---|
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 |
---|
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |
Class and Description |
---|
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 |
AbstractStringLayout.Serializer2
Variation of
AbstractStringLayout.Serializer that avoids allocating temporary objects. |
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |
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. |
HtmlLayout
Outputs events as rows in an HTML table on an HTML page.
|
HtmlLayout.Builder |
HtmlLayout.FontSize
Possible font sizes
|
LevelPatternSelector
Selects the pattern to use based on the Level in the LogEvent.
|
LevelPatternSelector.Builder
Custom MarkerPatternSelector 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.
|
Rfc5424Layout.FieldFormatter |
Rfc5424Layout.StructuredDataElement |
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.
|
Class and Description |
---|
AbstractStringLayout.Serializer |
ByteBufferDestination
ByteBufferDestination is the destination that
Encoder s write binary data to. |