Package | Description |
---|---|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
Modifier and Type | Method and Description |
---|---|
PatternLayout |
PatternLayout.Builder.build() |
static PatternLayout |
PatternLayout.createDefaultLayout()
Creates a PatternLayout using the default options.
|
static PatternLayout |
PatternLayout.createDefaultLayout(Configuration configuration)
Creates a PatternLayout using the default options and the given configuration.
|
static PatternLayout |
PatternLayout.createLayout(java.lang.String pattern,
PatternSelector patternSelector,
Configuration config,
RegexReplacement replace,
java.nio.charset.Charset charset,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi,
java.lang.String headerPattern,
java.lang.String footerPattern)
Deprecated.
Use
newBuilder() instead. This will be private in a future version. |