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 String |
abbreviate(String buf)
Abbreviate name in string buffer.
|
format, format, handlesThrowablegetName, 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 String abbreviate(String buf)
buf - string buffer containing name.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.