WhitespaceThrowablePatternConverter Class — spring-boot Architecture
Architecture documentation for the WhitespaceThrowablePatternConverter class in WhitespaceThrowablePatternConverter.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/WhitespaceThrowablePatternConverter.java lines 35–48
@Plugin(name = "WhitespaceThrowablePatternConverter", category = PatternConverter.CATEGORY)
@ConverterKeys({ "wEx", "wThrowable", "wException" })
public final class WhitespaceThrowablePatternConverter {
private WhitespaceThrowablePatternConverter() {
}
public static LogEventPatternConverter newInstance(Configuration configuration, String @Nullable [] options) {
final String nested = (options != null && options.length > 0) ? "{" + String.join("}{", options) + "}" : "";
final String pattern = "%notEmpty{%n%ex" + nested + "%n}";
return VariablesNotEmptyReplacementConverter.newInstance(configuration, new String[] { pattern });
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free