asString

fun ThreadInfo.asString(maxFrames: Int = 256): String

Inspired by ThreadInfo.toString

Returns a string representation of this thread info. The format of this string depends on the implementation. The returned string will typically include the .getThreadName, the .getThreadId, its .getThreadState, and a .getStackTrace if any.

Return

a string representation of this thread info.