@Plugin(name="WhitespaceThrowablePatternConverter",
category="Converter")
public final class WhitespaceThrowablePatternConverter
extends org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
ThrowablePatternConverter
that adds some additional whitespace around the stack
trace.Modifier and Type | Method and Description |
---|---|
void |
format(org.apache.logging.log4j.core.LogEvent event,
java.lang.StringBuilder buffer) |
static WhitespaceThrowablePatternConverter |
newInstance(org.apache.logging.log4j.core.config.Configuration configuration,
java.lang.String[] options)
Creates a new instance of the class.
|
getOptions, getSuffix, handlesThrowable
format, isVariable
public void format(org.apache.logging.log4j.core.LogEvent event, java.lang.StringBuilder buffer)
format
in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
public static WhitespaceThrowablePatternConverter newInstance(org.apache.logging.log4j.core.config.Configuration configuration, java.lang.String[] options)
configuration
- current configurationoptions
- pattern options, may be null. If first element is "short", only the
first line of the throwable will be formatted.WhitespaceThrowablePatternConverter