printStackTrace

inline fun Throwable.printStackTrace(writer: PrintWriter)

Prints the detailed description of this throwable to the specified writer.

inline fun Throwable.printStackTrace(stream: PrintStream)

Prints the detailed description of this throwable to the specified stream.

Common
fun Throwable.printStackTrace()

Prints the detailed description of this throwable to the standard output or standard error output.

Since Kotlin

1.4
inline fun Throwable.printStackTrace()

Prints the detailed description of this throwable to the standard error output.

JS
fun Throwable.printStackTrace()

Prints the detailed description of this throwable to console error output.

Since Kotlin

1.4
Native
inline fun Throwable.printStackTrace()

Prints the detailed description of this throwable to the standard output.

Since Kotlin

1.4