Package | Description |
---|---|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
Modifier and Type | Method and Description |
---|---|
static PatternLayout |
PatternLayout.createLayout(String pattern,
Configuration config,
RegexReplacement replace,
Charset charset,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi,
String header,
String footer)
Create a pattern layout.
|
PatternLayout.Builder |
PatternLayout.Builder.withRegexReplacement(RegexReplacement regexReplacement) |
Modifier and Type | Method and Description |
---|---|
static RegexReplacement |
RegexReplacement.createRegexReplacement(Pattern regex,
String replacement)
Create a RegexReplacement.
|
Copyright © 1999-2021 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.