Package org.springframework.boot.logging
Interface StackTracePrinter
- All Known Implementing Classes:
- StandardStackTracePrinter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface that can be used to print the stack trace of a 
Throwable.- Since:
- 3.5.0
- Author:
- Phillip Webb
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidprintStackTrace(Throwable throwable, Appendable out) Prints a stack trace for the givenThrowable.default StringprintStackTraceToString(Throwable throwable) 
- 
Method Details- 
printStackTraceToString- Parameters:
- throwable- the throwable that should have its stack trace printed
- Returns:
- the stack trace string
 
- 
printStackTracePrints a stack trace for the givenThrowable.- Parameters:
- throwable- the throwable that should have its stack trace printed
- out- the destination to write output
- Throws:
- IOException- on IO error
 
 
-