@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(String[] options)
Creates a new instance of the class.
|
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(String[] options)
options
- pattern options, may be null. If first element is "short", only the
first line of the throwable will be formatted.WhitespaceThrowablePatternConverter
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.