TestStackTracePrinterCustomized Class — spring-boot Architecture
Architecture documentation for the TestStackTracePrinterCustomized class in StructuredLoggingJsonPropertiesTests.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/logging/structured/StructuredLoggingJsonPropertiesTests.java lines 241–256
static class TestStackTracePrinterCustomized implements StackTracePrinter {
private final StandardStackTracePrinter printer;
TestStackTracePrinterCustomized(StandardStackTracePrinter printer) {
this.printer = printer.withMaximumLength(40)
.withLineSeparator("!")
.withFormatter((throwable) -> ClassUtils.getShortName(throwable.getClass()) + throwable.getMessage());
}
@Override
public void printStackTrace(Throwable throwable, Appendable out) throws IOException {
this.printer.printStackTrace(throwable, out);
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free