@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,
StringBuilder buffer) |
static WhitespaceThrowablePatternConverter |
newInstance(org.apache.logging.log4j.core.config.Configuration configuration,
String[] options)
Creates a new instance of the class.
|
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 WhitespaceThrowablePatternConverter 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
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.