|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.logging.log4j.core.pattern.RegexReplacement
public final class RegexReplacement
Replace tokens in the LogEvent message.
| Method Summary | |
|---|---|
static RegexReplacement |
createRegexReplacement(String regex,
String replacement)
Create a RegexReplacement. |
String |
format(String msg)
Perform the replacement. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String format(String msg)
msg - The String to match against.
public String toString()
toString in class Object
public static RegexReplacement createRegexReplacement(String regex,
String replacement)
regex - The regular expression to locate.replacement - The replacement value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||