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,
PatternSelector patternSelector,
Configuration config,
RegexReplacement replace,
Charset charset,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi,
String headerPattern,
String footerPattern)
Creates a pattern layout.
|
static AbstractStringLayout.Serializer |
PatternLayout.createSerializer(Configuration configuration,
RegexReplacement replace,
String pattern,
String defaultPattern,
PatternSelector patternSelector,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi) |
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.