Package | Description |
---|---|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
Modifier and Type | Method and Description |
---|---|
AbstractStringLayout.Serializer |
PatternLayout.SerializerBuilder.build() |
static AbstractStringLayout.Serializer |
PatternLayout.createSerializer(Configuration configuration,
RegexReplacement replace,
String pattern,
String defaultPattern,
PatternSelector patternSelector,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi)
Deprecated.
Use
PatternLayout.newSerializerBuilder() instead. |
AbstractStringLayout.Serializer |
AbstractStringLayout.getFooterSerializer() |
AbstractStringLayout.Serializer |
AbstractStringLayout.Builder.getFooterSerializer() |
AbstractStringLayout.Serializer |
AbstractStringLayout.getHeaderSerializer() |
AbstractStringLayout.Serializer |
AbstractStringLayout.Builder.getHeaderSerializer() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
AbstractStringLayout.serializeToBytes(AbstractStringLayout.Serializer serializer,
byte[] defaultValue) |
protected String |
AbstractStringLayout.serializeToString(AbstractStringLayout.Serializer serializer) |
B |
AbstractStringLayout.Builder.setFooterSerializer(AbstractStringLayout.Serializer footerSerializer) |
B |
AbstractStringLayout.Builder.setHeaderSerializer(AbstractStringLayout.Serializer headerSerializer) |
Constructor and Description |
---|
AbstractStringLayout(Configuration config,
Charset aCharset,
AbstractStringLayout.Serializer headerSerializer,
AbstractStringLayout.Serializer footerSerializer)
Builds a new layout.
|
Copyright © 1999-2017. 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.