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 StandardStackTracePrinter
StandardStackTracePrinter.rootFirst()
Return aStandardStackTracePrinter
that prints the stack trace with the root exception first (the opposite ofThrowable.printStackTrace()
).static StandardStackTracePrinter
StandardStackTracePrinter.rootLast()
Return aStandardStackTracePrinter
that prints the stack trace with the root exception last (the same asThrowable.printStackTrace()
).StandardStackTracePrinter.withCommonFrames()
Return a newStandardStackTracePrinter
from this one that will print all common frames rather the replacing them with the "... N more" message.StandardStackTracePrinter.withFilter
(Predicate<Throwable> predicate) Return a newStandardStackTracePrinter
from this one that will only include throwables (excluding caused and suppressed) that match the given predicate.StandardStackTracePrinter.withFormatter
(Function<Throwable, String> formatter) Return a newStandardStackTracePrinter
from this one uses the specified formatter to create a string representation of a throwable.StandardStackTracePrinter.withFrameFilter
(BiPredicate<Integer, StackTraceElement> predicate) Return a newStandardStackTracePrinter
from this one that will only include frames that match the given predicate.StandardStackTracePrinter.withFrameFormatter
(Function<StackTraceElement, String> frameFormatter) Return a newStandardStackTracePrinter
from this one uses the specified formatter to create a string representation of a frame.StandardStackTracePrinter.withHashes()
Return a newStandardStackTracePrinter
from this one that generates and prints hashes for each stacktrace.StandardStackTracePrinter.withHashes
(boolean hashes) Return a newStandardStackTracePrinter
from 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 newStandardStackTracePrinter
from this one that print the stack trace using the specified line separator.StandardStackTracePrinter.withMaximumLength
(int maximumLength) Return a newStandardStackTracePrinter
from this one that will use ellipses to truncate output longer that the specified length.StandardStackTracePrinter.withMaximumThrowableDepth
(int maximumThrowableDepth) Return a newStandardStackTracePrinter
from this one that filter frames (including caused and suppressed) deeper then the specified maximum.StandardStackTracePrinter.withoutSuppressed()
Return a newStandardStackTracePrinter
from this one that will not printsuppressed
items.