Class Rfc5424Layout.Rfc5424LayoutBuilder
java.lang.Object
org.apache.logging.log4j.core.layout.Rfc5424Layout.Rfc5424LayoutBuilder
- Enclosing class:
Rfc5424Layout
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Charsetprivate Configurationprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Facilityprivate Stringprivate booleanprivate booleanprivate Stringprivate LoggerFields[]private Stringprivate Stringprivate Stringprivate Stringprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setAppName(String appName) setCharset(Charset charset) setConfig(Configuration config) setEscapeNL(String escapeNL) setEventPrefix(String eventPrefix) setExceptionPattern(String exceptionPattern) setExcludes(String excludes) setFacility(Facility facility) setIncludeMDC(boolean includeMDC) setIncludeNL(boolean includeNL) setIncludes(String includes) setLoggerFields(LoggerFields[] loggerFields) setMdcPrefix(String mdcPrefix) setMessageId(String messageId) setRequired(String required) setUseTLSMessageFormat(boolean useTLSMessageFormat)
-
Field Details
-
config
-
facility
-
id
-
ein
-
includeMDC
private boolean includeMDC -
includeNL
private boolean includeNL -
escapeNL
-
mdcId
-
mdcPrefix
-
eventPrefix
-
appName
-
messageId
-
excludes
-
includes
-
required
-
charset
-
exceptionPattern
-
useTLSMessageFormat
private boolean useTLSMessageFormat -
loggerFields
-
-
Constructor Details
-
Rfc5424LayoutBuilder
public Rfc5424LayoutBuilder()
-
-
Method Details
-
setConfig
-
setFacility
-
setId
-
setEin
-
setIncludeMDC
-
setIncludeNL
-
setEscapeNL
-
setMdcId
-
setMdcPrefix
-
setEventPrefix
-
setAppName
-
setMessageId
-
setExcludes
-
setIncludes
-
setRequired
-
setCharset
-
setExceptionPattern
-
setUseTLSMessageFormat
-
setLoggerFields
-
build
-