public final class PropertiesPatternConverter extends LoggingEventPatternConverter
Modifier and Type | Field and Description |
---|---|
private String |
option
Name of property to output.
|
Modifier | Constructor and Description |
---|---|
private |
PropertiesPatternConverter(String[] options)
Private constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
format(LoggingEvent event,
StringBuffer toAppendTo)
Formats an event into a string buffer.
|
static PropertiesPatternConverter |
newInstance(String[] options)
Obtains an instance of PropertiesPatternConverter.
|
format, handlesThrowable
getName, getStyleClass
private PropertiesPatternConverter(String[] options)
options
- options, may be null.public static PropertiesPatternConverter newInstance(String[] options)
options
- options, may be null or first element contains name of property to format.public void format(LoggingEvent event, StringBuffer toAppendTo)
format
in class LoggingEventPatternConverter
event
- event to format, may not be null.toAppendTo
- string buffer to which the formatted event will be appended. May not be null.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses