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 TypeInterfaceDescriptioninterfaceLayout<T extends Serializable>Lays out a LogEvent in different formats.interfaceInstantiates theLayouttype 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 TypeClassDescriptionclassA superclass for Comma-Separated Value (CSV) layouts.classAbstractLayout<T extends Serializable>Abstract base class for Layouts.classAbstract base class for Layouts that result in a String.classA Comma-Separated Value (CSV) layout to log events.classA Comma-Separated Value (CSV) layout to log event parameters.final classLays out events in the Graylog Extended Log Format (GELF) 1.1.final classOutputs events as rows in an HTML table on an HTML page.final classNote: The JsonLayout should be considered to be deprecated.classEncoder for StringBuilders that locks on the ByteBufferDestination.classfinal classA flexible layout configurable with pattern string.final classFormats a log event in accordance with RFC 5424.final classDeprecated.Java Serialization has inherent security weaknesses, see https://www.owasp.org/index.php/Deserialization_of_untrusted_data .classEncoder for StringBuilders that uses ThreadLocals to avoid locking as much as possible.final classFormats a log event as a BSD Log record.final classAppends a series ofeventelements as defined in the Log4j-events.xsd.final classAppends 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.