Uses of Class
org.springframework.boot.logging.StandardStackTracePrinter
Packages that use StandardStackTracePrinter
Package
Description
Support and abstractions across several logging libraries.
-
Uses of StandardStackTracePrinter in org.springframework.boot.logging
Methods in org.springframework.boot.logging that return StandardStackTracePrinterModifier and TypeMethodDescriptionstatic StandardStackTracePrinterStandardStackTracePrinter.rootFirst()Return aStandardStackTracePrinterthat prints the stack trace with the root exception first (the opposite ofThrowable.printStackTrace()).static StandardStackTracePrinterStandardStackTracePrinter.rootLast()Return aStandardStackTracePrinterthat prints the stack trace with the root exception last (the same asThrowable.printStackTrace()).StandardStackTracePrinter.withCommonFrames()Return a newStandardStackTracePrinterfrom this one that will print all common frames rather the replacing them with the "... N more" message.StandardStackTracePrinter.withFilter(Predicate<Throwable> predicate) Return a newStandardStackTracePrinterfrom this one that will only include throwables (excluding caused and suppressed) that match the given predicate.StandardStackTracePrinter.withFormatter(Function<Throwable, String> formatter) Return a newStandardStackTracePrinterfrom this one uses the specified formatter to create a string representation of a throwable.StandardStackTracePrinter.withFrameFilter(BiPredicate<Integer, StackTraceElement> predicate) Return a newStandardStackTracePrinterfrom this one that will only include frames that match the given predicate.StandardStackTracePrinter.withFrameFormatter(Function<StackTraceElement, String> frameFormatter) Return a newStandardStackTracePrinterfrom this one uses the specified formatter to create a string representation of a frame.StandardStackTracePrinter.withHashes()Return a newStandardStackTracePrinterfrom this one that generates and prints hashes for each stacktrace.StandardStackTracePrinter.withHashes(boolean hashes) Return a newStandardStackTracePrinterfrom this one that changes if hashes should be generated and printed for each stacktrace.StandardStackTracePrinter.withHashes(ToIntFunction<StackTraceElement> frameHasher) StandardStackTracePrinter.withLineSeparator(String lineSeparator) Return a newStandardStackTracePrinterfrom this one that print the stack trace using the specified line separator.StandardStackTracePrinter.withMaximumLength(int maximumLength) Return a newStandardStackTracePrinterfrom this one that will use ellipses to truncate output longer that the specified length.StandardStackTracePrinter.withMaximumThrowableDepth(int maximumThrowableDepth) Return a newStandardStackTracePrinterfrom this one that filter frames (including caused and suppressed) deeper then the specified maximum.StandardStackTracePrinter.withoutSuppressed()Return a newStandardStackTracePrinterfrom this one that will not printsuppresseditems.