Package org.elasticsearch.common.logging
Class ESJsonLayout.Builder<B extends ESJsonLayout.Builder<B>>
java.lang.Object
org.apache.logging.log4j.core.layout.AbstractLayout.Builder<B>
org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B>
org.elasticsearch.common.logging.ESJsonLayout.Builder<B>
- All Implemented Interfaces:
org.apache.logging.log4j.core.util.Builder<ESJsonLayout>
- Enclosing class:
- ESJsonLayout
public static class ESJsonLayout.Builder<B extends ESJsonLayout.Builder<B>>
extends org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B>
implements org.apache.logging.log4j.core.util.Builder<ESJsonLayout>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
getType()
setCharset(Charset charset)
setESMessageFields(String esmessagefields)
Methods inherited from class org.apache.logging.log4j.core.layout.AbstractStringLayout.Builder
getFooterSerializer, getHeaderSerializer, setFooterSerializer, setHeaderSerializer
Methods inherited from class org.apache.logging.log4j.core.layout.AbstractLayout.Builder
asBuilder, getConfiguration, getFooter, getHeader, setConfiguration, setFooter, setHeader
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Specified by:
build
in interfaceorg.apache.logging.log4j.core.util.Builder<B extends ESJsonLayout.Builder<B>>
-
getCharset
- Overrides:
getCharset
in classorg.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B extends ESJsonLayout.Builder<B>>
-
setCharset
- Overrides:
setCharset
in classorg.apache.logging.log4j.core.layout.AbstractStringLayout.Builder<B extends ESJsonLayout.Builder<B>>
-
getType
-
setType
-
getESMessageFields
-
setESMessageFields
-