fun Throwable.printStackTrace()
Prints the stack trace of this throwable to the standard output.
fun Throwable.printStackTrace(writer: PrintWriter)
Prints the stack trace of this throwable to the specified writer.
fun Throwable.printStackTrace(stream: PrintStream)
Prints the stack trace of this throwable to the specified stream.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/print-stack-trace.html