Class RootThrowablePatternConverter
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.RootThrowablePatternConverter
- All Implemented Interfaces:
PatternConverter
@NullMarked
@Plugin(name="RootThrowablePatternConverter",
category="Converter")
public final class RootThrowablePatternConverter
extends ThrowablePatternConverter
ThrowablePatternConverter
variant where the stack trace causal chain is rendered in reverse order.-
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
-
Method Summary
Modifier and TypeMethodDescriptionnewInstance
(@Nullable Configuration config, @Nullable 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
-
Method Details
-
newInstance
public static RootThrowablePatternConverter newInstance(@Nullable Configuration config, @Nullable String[] options) Creates an instance of the class.- Parameters:
config
- a configurationoptions
- the pattern options- Returns:
- a new instance
-