public abstract class NamePatternConverter extends LogEventPatternConverter
LOGGERCATEGORY| Modifier | Constructor and Description |
|---|---|
protected |
NamePatternConverter(String name,
String style,
String[] options)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
abbreviate(String original,
StringBuilder destination)
Abbreviate name in string buffer.
|
format, format, handlesThrowable, isVariablegetName, getStyleClassprotected NamePatternConverter(String name, String style, String[] options)
name - name of converter.style - style name for associated output.options - options, may be null, first element will be interpreted as an abbreviation pattern.protected final void abbreviate(String original, StringBuilder destination)
original - string containing name.destination - the StringBuilder to write toCopyright © 1999-2021 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.