public static class Rfc5424Layout.Rfc5424LayoutBuilder extends Object
Constructor and Description |
---|
Rfc5424LayoutBuilder() |
public Rfc5424Layout.Rfc5424LayoutBuilder setConfig(Configuration config)
public Rfc5424Layout.Rfc5424LayoutBuilder setFacility(Facility facility)
public Rfc5424Layout.Rfc5424LayoutBuilder setId(String id)
public Rfc5424Layout.Rfc5424LayoutBuilder setEin(String ein)
public Rfc5424Layout.Rfc5424LayoutBuilder setIncludeMDC(boolean includeMDC)
public Rfc5424Layout.Rfc5424LayoutBuilder setIncludeNL(boolean includeNL)
public Rfc5424Layout.Rfc5424LayoutBuilder setEscapeNL(String escapeNL)
public Rfc5424Layout.Rfc5424LayoutBuilder setMdcId(String mdcId)
public Rfc5424Layout.Rfc5424LayoutBuilder setMdcPrefix(String mdcPrefix)
public Rfc5424Layout.Rfc5424LayoutBuilder setEventPrefix(String eventPrefix)
public Rfc5424Layout.Rfc5424LayoutBuilder setAppName(String appName)
public Rfc5424Layout.Rfc5424LayoutBuilder setMessageId(String messageId)
public Rfc5424Layout.Rfc5424LayoutBuilder setExcludes(String excludes)
public Rfc5424Layout.Rfc5424LayoutBuilder setIncludes(String includes)
public Rfc5424Layout.Rfc5424LayoutBuilder setRequired(String required)
public Rfc5424Layout.Rfc5424LayoutBuilder setCharset(Charset charset)
public Rfc5424Layout.Rfc5424LayoutBuilder setExceptionPattern(String exceptionPattern)
public Rfc5424Layout.Rfc5424LayoutBuilder setUseTLSMessageFormat(boolean useTLSMessageFormat)
public Rfc5424Layout.Rfc5424LayoutBuilder setLoggerFields(LoggerFields[] loggerFields)
public Rfc5424Layout build()
Copyright © 1999-2023 The Apache Software Foundation. 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.