Uses of Interface
org.apache.logging.log4j.core.layout.Encoder
-
Packages that use Encoder Package Description org.apache.log4j.bridge org.apache.log4j.layout org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.layout Log4j 2 Layout support.org.apache.logging.log4j.layout.template.json -
-
Uses of Encoder in org.apache.log4j.bridge
Classes in org.apache.log4j.bridge that implement Encoder Modifier and Type Class Description class
LayoutAdapter
Class Description goes here. -
Uses of Encoder in org.apache.log4j.layout
Classes in org.apache.log4j.layout that implement Encoder Modifier and Type Class Description class
Log4j1XmlLayout
Port of XMLLayout in Log4j 1.x. -
Uses of Encoder in org.apache.logging.log4j.core
Subinterfaces of Encoder in org.apache.logging.log4j.core Modifier and Type Interface Description interface
Layout<T extends java.io.Serializable>
Lays out a LogEvent in different formats.interface
StringLayout
Instantiates the @{link Layout} 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 Encoder Modifier and Type Class Description class
AbstractCsvLayout
A superclass for Comma-Separated Value (CSV) layouts.(package private) class
AbstractJacksonLayout
class
AbstractLayout<T extends java.io.Serializable>
Abstract base class for Layouts.class
AbstractStringLayout
Abstract base class for Layouts that result in a String.class
CsvLogEventLayout
A Comma-Separated Value (CSV) layout to log events.class
CsvParameterLayout
A Comma-Separated Value (CSV) layout to log event parameters.class
GelfLayout
Lays out events in the Graylog Extended Log Format (GELF) 1.1.class
HtmlLayout
Outputs events as rows in an HTML table on an HTML page.class
JsonLayout
Note: The JsonLayout should be considered to be deprecated.class
LockingStringBuilderEncoder
Encoder for StringBuilders that locks on the ByteBufferDestination.class
MessageLayout
class
PatternLayout
A flexible layout configurable with pattern string.class
Rfc5424Layout
Formats a log event in accordance with RFC 5424.class
SerializedLayout
Deprecated.Java Serialization has inherent security weaknesses, see https://www.owasp.org/index.php/Deserialization_of_untrusted_data .class
StringBuilderEncoder
Encoder for StringBuilders that uses ThreadLocals to avoid locking as much as possible.class
SyslogLayout
Formats a log event as a BSD Log record.class
XmlLayout
Appends a series ofevent
elements as defined in the log4j.dtd.class
YamlLayout
Appends a series of YAML events as strings serialized as bytes.Fields in org.apache.logging.log4j.core.layout declared as Encoder Modifier and Type Field Description private Encoder<java.lang.StringBuilder>
AbstractStringLayout. textEncoder
Methods in org.apache.logging.log4j.core.layout that return Encoder Modifier and Type Method Description protected Encoder<java.lang.StringBuilder>
AbstractStringLayout. getStringBuilderEncoder()
Returns aEncoder<StringBuilder>
that this Layout implementation can use for encoding log events. -
Uses of Encoder in org.apache.logging.log4j.layout.template.json
Classes in org.apache.logging.log4j.layout.template.json that implement Encoder Modifier and Type Class Description class
JsonTemplateLayout
Fields in org.apache.logging.log4j.layout.template.json declared as Encoder Modifier and Type Field Description (package private) Encoder<java.lang.StringBuilder>
JsonTemplateLayout.Context. encoder
Methods in org.apache.logging.log4j.layout.template.json that return Encoder Modifier and Type Method Description private static Encoder<java.lang.StringBuilder>
JsonTemplateLayout. createStringBuilderEncoder(java.nio.charset.Charset charset)
Constructors in org.apache.logging.log4j.layout.template.json with parameters of type Encoder Constructor Description Context(JsonWriter jsonWriter, Encoder<java.lang.StringBuilder> encoder)
-