swift-backtrace icon indicating copy to clipboard operation
swift-backtrace copied to clipboard

Why deprecate print?

Open WalterSmuts opened this issue 2 years ago • 0 comments

Hi,

Just stumbled upon this library and the exact functionality I was looking for was Backtrace.print(). I see it's marked for deprecation on the next major version release? Any reason why?

My use-case is to print the call stack in a function of an unknown project. It helps with understanding the control flow. If I don't have the Backtrace.print() and have to insert a panic, it triggers on the first occurrence of the statement, which my not be the invocation I was looking for.

WalterSmuts avatar Sep 14 '23 08:09 WalterSmuts