public final class ClassNamePatternConverter extends NamePatternConverter
限定符和类型 | 方法和说明 |
---|---|
void |
format(LoggingEvent event,
java.lang.StringBuffer toAppendTo)
Format a logging event.
|
static ClassNamePatternConverter |
newInstance(java.lang.String[] options)
Gets an instance of ClassNamePatternConverter.
|
abbreviate
format, handlesThrowable
getName, getStyleClass
public static ClassNamePatternConverter 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.toAppendTo
- string buffer to which class name will be appended.