public abstract class LoggingEventPatternConverter extends PatternConverter
Modifier | Constructor and Description |
---|---|
protected |
LoggingEventPatternConverter(String name,
String style)
Constructs an instance of LoggingEventPatternConverter.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
format(LoggingEvent event,
StringBuffer toAppendTo)
Formats an event into a string buffer.
|
void |
format(Object obj,
StringBuffer output)
Formats an object into a string buffer.
|
boolean |
handlesThrowable()
Normally pattern converters are not meant to handle Exceptions although
few pattern converters might.
|
getName, getStyleClass
protected LoggingEventPatternConverter(String name, String style)
name
- name of converter.style
- CSS style for output.public abstract void format(LoggingEvent event, StringBuffer toAppendTo)
event
- event to format, may not be null.toAppendTo
- string buffer to which the formatted event will be appended. May not be null.public void format(Object obj, StringBuffer output)
format
in class PatternConverter
obj
- event to format, may not be null.output
- string buffer to which the formatted event will be appended. May not be null.public boolean handlesThrowable()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses