swift-backtrace
swift-backtrace copied to clipboard
Why deprecate print?
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.