Class ExtendedThrowablePatternConverter
- 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.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter
-
- All Implemented Interfaces:
PatternConverter
@NullMarked @Plugin(name="ExtendedThrowablePatternConverter", category="Converter") public final class ExtendedThrowablePatternConverter extends ThrowablePatternConverter
ThrowablePatternConvertervariant where the renderedStackTraceElements are enriched with the enclosing JAR file and its version information, if available.
-
-
Field Summary
-
Fields inherited from class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
formatters, options
-
Fields inherited from class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
LOGGER
-
Fields inherited from interface org.apache.logging.log4j.core.pattern.PatternConverter
CATEGORY
-
-
Constructor Summary
Constructors Modifier Constructor Description privateExtendedThrowablePatternConverter(@Nullable Configuration config, @Nullable java.lang.String[] options)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static ThrowableExtendedStackTraceRenderercreateRenderer(ThrowableFormatOptions options)static ExtendedThrowablePatternConverternewInstance(@Nullable Configuration config, @Nullable java.lang.String[] options)Creates an instance of the class.-
Methods inherited from class org.apache.logging.log4j.core.pattern.ThrowablePatternConverter
format, getOptions, getSuffix, handlesThrowable
-
Methods inherited from class org.apache.logging.log4j.core.pattern.LogEventPatternConverter
emptyVariableOutput, format, isVariable
-
Methods inherited from class org.apache.logging.log4j.core.pattern.AbstractPatternConverter
getName, getStyleClass
-
-
-
-
Constructor Detail
-
ExtendedThrowablePatternConverter
private ExtendedThrowablePatternConverter(@Nullable Configuration config, @Nullable java.lang.String[] options)
-
-
Method Detail
-
createRenderer
private static ThrowableExtendedStackTraceRenderer createRenderer(ThrowableFormatOptions options)
-
newInstance
public static ExtendedThrowablePatternConverter newInstance(@Nullable Configuration config, @Nullable java.lang.String[] options)
Creates an instance of the class.- Parameters:
config- a configurationoptions- the pattern options- Returns:
- a new instance
-
-