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, getStyleClasspublic 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 PatternConverterobj - 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 © 2012 JBoss by Red Hat. All Rights Reserved.