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)
Deprecated.
Use
PatternLayout.newBuilder() instead. This will be private in a future version. |
static AbstractStringLayout.Serializer |
PatternLayout.createSerializer(Configuration configuration,
RegexReplacement replace,
String pattern,
String defaultPattern,
PatternSelector patternSelector,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi)
Deprecated.
Use
PatternLayout.newSerializerBuilder() instead. |
PatternLayout.SerializerBuilder |
PatternLayout.SerializerBuilder.setReplace(RegexReplacement replace) |
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-2017. 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.