public final class LevelPatternConverter extends LoggingEventPatternConverter
| Modifier and Type | Method and Description |
|---|---|
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 in class 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 in class PatternConvertere - null values are acceptedCopyright © 2020 Confluent, Inc.. All Rights Reserved.