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 thread name, the thread ID, its state, and a stack trace if any.
Return
a string representation of this thread info.