public final class LevelPatternConverter extends LoggingEventPatternConverter
| Modifier and Type | Field and Description |
|---|---|
private static LevelPatternConverter |
INSTANCE
Singleton.
|
private static int |
TRACE_INT
Integer severity for Level.TRACE.
|
| Modifier | Constructor and Description |
|---|---|
private |
LevelPatternConverter()
Private constructor.
|
| 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, handlesThrowablegetNameprivate static final int TRACE_INT
private static final LevelPatternConverter INSTANCE
public 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 accepted