Package | Description |
---|---|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
Modifier and Type | Method | 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 |
PatternLayout.getEventSerializer() |
|
AbstractStringLayout.Serializer |
AbstractStringLayout.Builder.getFooterSerializer() |
|
AbstractStringLayout.Serializer |
AbstractStringLayout.getFooterSerializer() |
|
AbstractStringLayout.Serializer |
AbstractStringLayout.Builder.getHeaderSerializer() |
|
AbstractStringLayout.Serializer |
AbstractStringLayout.getHeaderSerializer() |
Modifier and Type | Method | 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 | Description |
---|---|
AbstractStringLayout(Configuration config,
Charset aCharset,
AbstractStringLayout.Serializer headerSerializer,
AbstractStringLayout.Serializer footerSerializer) |
Builds a new layout.
|
Copyright © 1999-2018. 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.