org.apache.logging.log4j.core.layout.AbstractJacksonLayout.Builder, GelfLayout.Builder, SyslogLayout.Builderpublic abstract static class AbstractStringLayout.Builder<B extends AbstractStringLayout.Builder<B>> extends AbstractLayout.Builder<B>
| Constructor | Description |
|---|---|
Builder() |
| Modifier and Type | Method | Description |
|---|---|---|
Charset |
getCharset() |
|
AbstractStringLayout.Serializer |
getFooterSerializer() |
|
AbstractStringLayout.Serializer |
getHeaderSerializer() |
|
B |
setCharset(Charset charset) |
|
B |
setFooterSerializer(AbstractStringLayout.Serializer footerSerializer) |
|
B |
setHeaderSerializer(AbstractStringLayout.Serializer headerSerializer) |
asBuilder, getConfiguration, getFooter, getHeader, setConfiguration, setFooter, setHeaderpublic Charset getCharset()
public AbstractStringLayout.Serializer getFooterSerializer()
public AbstractStringLayout.Serializer getHeaderSerializer()
public B setFooterSerializer(AbstractStringLayout.Serializer footerSerializer)
public B setHeaderSerializer(AbstractStringLayout.Serializer headerSerializer)
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.