public final class LevelPatternConverter extends LoggingEventPatternConverter
Modifier and Type | Method and Description |
---|---|
void |
format(LoggingEvent event,
StringBuffer output)
Formats an event into a string buffer.
|
String |
getStyleClass(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(String[] options)
Obtains an instance of pattern converter.
|
format, handlesThrowable
getName
public static LevelPatternConverter newInstance(String[] options)
options
- options, may be null.public void format(LoggingEvent event, StringBuffer output)
format
in class LoggingEventPatternConverter
event
- event to format, may not be null.output
- string buffer to which the formatted event will be appended. May not be null.public String getStyleClass(Object e)
This information is currently used only by HTMLLayout.
getStyleClass
in class PatternConverter
e
- null values are acceptedCopyright © 1999–2023 QOS.CH Sarl (Switzerland). All rights reserved.