Package | Description |
---|---|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
Modifier and Type | Method and Description |
---|---|
static PatternLayout.Builder |
PatternLayout.newBuilder()
Creates a builder for a custom PatternLayout.
|
PatternLayout.Builder |
PatternLayout.Builder.withAlwaysWriteExceptions(boolean alwaysWriteExceptions) |
PatternLayout.Builder |
PatternLayout.Builder.withCharset(Charset charset) |
PatternLayout.Builder |
PatternLayout.Builder.withConfiguration(Configuration configuration) |
PatternLayout.Builder |
PatternLayout.Builder.withDisableAnsi(boolean disableAnsi) |
PatternLayout.Builder |
PatternLayout.Builder.withFooter(String footer) |
PatternLayout.Builder |
PatternLayout.Builder.withHeader(String header) |
PatternLayout.Builder |
PatternLayout.Builder.withNoConsoleNoAnsi(boolean noConsoleNoAnsi) |
PatternLayout.Builder |
PatternLayout.Builder.withPattern(String pattern) |
PatternLayout.Builder |
PatternLayout.Builder.withPatternSelector(PatternSelector patternSelector) |
PatternLayout.Builder |
PatternLayout.Builder.withRegexReplacement(RegexReplacement regexReplacement) |
Copyright © 1999-2021 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.