public final class MessagePatternConverter extends LoggingEventPatternConverter
限定符和类型 | 方法和说明 |
---|---|
void |
format(LoggingEvent event,
java.lang.StringBuffer toAppendTo)
Formats an event into a string buffer.
|
static MessagePatternConverter |
newInstance(java.lang.String[] options)
Obtains an instance of pattern converter.
|
format, handlesThrowable
getName, getStyleClass
public static MessagePatternConverter newInstance(java.lang.String[] options)
options
- options, may be null.public void format(LoggingEvent event, java.lang.StringBuffer toAppendTo)
format
在类中 LoggingEventPatternConverter
event
- event to format, may not be null.toAppendTo
- string buffer to which the formatted event will be appended. May not be null.