Uses of Interface
org.apache.logging.log4j.core.layout.Encoder
Packages that use Encoder
Package
Description
Implementation of Log4j 2.
Log4j 2 Layout support.
-
Uses of Encoder in org.apache.logging.log4j.core
Subinterfaces of Encoder in org.apache.logging.log4j.coreModifier and TypeInterfaceDescriptioninterface
Layout<T extends Serializable>
Lays out a LogEvent in different formats.interface
Instantiates theLayout
type for String-based layouts. -
Uses of Encoder in org.apache.logging.log4j.core.layout
Classes in org.apache.logging.log4j.core.layout that implement EncoderModifier and TypeClassDescriptionclass
A superclass for Comma-Separated Value (CSV) layouts.class
AbstractLayout<T extends Serializable>
Abstract base class for Layouts.class
Abstract base class for Layouts that result in a String.class
A Comma-Separated Value (CSV) layout to log events.class
A Comma-Separated Value (CSV) layout to log event parameters.final class
Lays out events in the Graylog Extended Log Format (GELF) 1.1.final class
Outputs events as rows in an HTML table on an HTML page.final class
Note: The JsonLayout should be considered to be deprecated.class
Encoder for StringBuilders that locks on the ByteBufferDestination.class
final class
A flexible layout configurable with pattern string.final class
Formats a log event in accordance with RFC 5424.final class
Deprecated.Java Serialization has inherent security weaknesses, see https://www.owasp.org/index.php/Deserialization_of_untrusted_data .class
Encoder for StringBuilders that uses ThreadLocals to avoid locking as much as possible.final class
Formats a log event as a BSD Log record.final class
Appends a series ofevent
elements as defined in the Log4j-events.xsd.final class
Appends a series of YAML events as strings serialized as bytes.Methods in org.apache.logging.log4j.core.layout that return EncoderModifier and TypeMethodDescriptionprotected Encoder<StringBuilder>
AbstractStringLayout.getStringBuilderEncoder()
Returns aEncoder<StringBuilder>
that this Layout implementation can use for encoding log events.