withMaximumThrowableDepth

open fun withMaximumThrowableDepth(maximumThrowableDepth: Int): StandardStackTracePrinter

Return a new StandardStackTracePrinter from this one that filter frames (including caused and suppressed) deeper then the specified maximum.

Return

a new StandardStackTracePrinter instance

Parameters

maximumThrowableDepth

the maximum throwable depth