@Plugin(name="ExtendedWhitespaceThrowablePatternConverter",
category="Converter")
public final class ExtendedWhitespaceThrowablePatternConverter
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,
StringBuilder buffer) |
static ExtendedWhitespaceThrowablePatternConverter |
newInstance(org.apache.logging.log4j.core.config.Configuration configuration,
String[] options)
Creates a new instance of the class.
|
getOptions, getSuffix, handlesThrowable
format, isVariable
public void format(org.apache.logging.log4j.core.LogEvent event, StringBuilder buffer)
format
in class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
public static ExtendedWhitespaceThrowablePatternConverter newInstance(org.apache.logging.log4j.core.config.Configuration configuration, 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