public final class LevelPatternConverter extends LoggingEventPatternConverter
| 限定符和类型 | 方法和说明 |
|---|---|
void |
format(LoggingEvent event,
java.lang.StringBuffer output)
Formats an event into a string buffer.
|
java.lang.String |
getStyleClass(java.lang.Object e)
This method returns the CSS style class that should be applied to
the LoggingEvent passed as parameter, which can be null.
|
static LevelPatternConverter |
newInstance(java.lang.String[] options)
Obtains an instance of pattern converter.
|
format, handlesThrowablegetNamepublic static LevelPatternConverter newInstance(java.lang.String[] options)
options - options, may be null.public void format(LoggingEvent event, java.lang.StringBuffer output)
format 在类中 LoggingEventPatternConverterevent - event to format, may not be null.output - string buffer to which the formatted event will be appended. May not be null.public java.lang.String getStyleClass(java.lang.Object e)
getStyleClass 在类中 PatternConvertere - null values are accepted