Class HtmlLayout.Builder
java.lang.Object
org.apache.logging.log4j.core.layout.HtmlLayout.Builder
- All Implemented Interfaces:
Builder<HtmlLayout>
- Enclosing class:
- HtmlLayout
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the object after all configuration has been set.setDatePattern(String datePattern) setTimezone(String timezone) withCharset(Charset charset) withContentType(String contentType) withFontName(String fontName) withFontSize(HtmlLayout.FontSize fontSize) withLocationInfo(boolean locationInfo) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.logging.log4j.core.util.Builder
getErrorPrefix, isValid
-
Method Details
-
withLocationInfo
-
withTitle
-
withContentType
-
withCharset
-
withFontSize
-
withFontName
-
setDatePattern
-
setTimezone
-
build
Description copied from interface:BuilderBuilds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
buildin interfaceBuilder<HtmlLayout>- Returns:
- the configured instance.
-