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
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()
Copyright © 1999-2013 Apache Software Foundation. All Rights Reserved.