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