@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(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 ExtendedWhitespaceThrowablePatternConverter 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 © 2017 Pivotal Software, Inc.. All rights reserved.