Class ExtendedWhitespaceThrowablePatternConverter
java.lang.Object
org.apache.logging.log4j.core.pattern.AbstractPatternConverter
org.apache.logging.log4j.core.pattern.LogEventPatternConverter
org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
org.springframework.boot.logging.log4j2.ExtendedWhitespaceThrowablePatternConverter
- All Implemented Interfaces:
- org.apache.logging.log4j.core.pattern.PatternConverter
@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.- Since:
- 1.3.0
- Author:
- Vladimir Tsanev, Phillip Webb
- 
Field SummaryFields inherited from class org.apache.logging.log4j.core.pattern.ThrowablePatternConverterformatters, optionsFields inherited from class org.apache.logging.log4j.core.pattern.AbstractPatternConverterLOGGERFields inherited from interface org.apache.logging.log4j.core.pattern.PatternConverterCATEGORY
- 
Method SummaryModifier and TypeMethodDescriptionvoidformat(org.apache.logging.log4j.core.LogEvent event, StringBuilder buffer) newInstance(org.apache.logging.log4j.core.config.Configuration configuration, String[] options) Creates a new instance of the class.Methods inherited from class org.apache.logging.log4j.core.pattern.ThrowablePatternConvertergetOptions, getSuffix, handlesThrowableMethods inherited from class org.apache.logging.log4j.core.pattern.LogEventPatternConverterformat, isVariableMethods inherited from class org.apache.logging.log4j.core.pattern.AbstractPatternConvertergetName, getStyleClass
- 
Method Details- 
format- Overrides:
- formatin class- org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
 
- 
newInstancepublic static ExtendedWhitespaceThrowablePatternConverter newInstance(org.apache.logging.log4j.core.config.Configuration configuration, String[] options) Creates a new instance of the class. Required by Log4J2.- Parameters:
- configuration- current configuration
- options- pattern options, may be null. If first element is "short", only the first line of the throwable will be formatted.
- Returns:
- a new WhitespaceThrowablePatternConverter
 
 
-