@Plugin(name="equals", category="Converter") public final class EqualsReplacementConverter extends EqualsBaseReplacementConverter
LOGGER
CATEGORY
Modifier and Type | Method and Description |
---|---|
protected boolean |
equals(String str,
StringBuilder buff,
int from,
int len)
Returns true if the specified String equals the specified section of the specified StringBuilder.
|
static EqualsReplacementConverter |
newInstance(Configuration config,
String[] options)
Gets an instance of the class.
|
format
format, handlesThrowable, isVariable
getName, getStyleClass
public static EqualsReplacementConverter newInstance(Configuration config, String[] options)
config
- The current Configuration.options
- pattern options, an array of three elements: pattern, testString, and substitution.protected boolean equals(String str, StringBuilder buff, int from, int len)
EqualsBaseReplacementConverter
equals
in class EqualsBaseReplacementConverter
str
- the String to comparebuff
- the StringBuilder to compare a section offrom
- start index in the StringBuilderlen
- length of the section in the StringBuilderCopyright © 1999-2020 The 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.