Monday, October 16, 2023
HomeiOS DevelopmentiOS Swift - Take away final technique from stacktrace

iOS Swift – Take away final technique from stacktrace


I’ve a utility technique for logging varied non-fatal errors in my venture. On this technique I additionally ship the error to Crashlytics by its report() technique, however when Crashlytics, all errors are grouped collectively into one occasion, beacause the final information within the stacktrace is line x of my UtilityClass (the place Crashlytics.crashlytics().report(error: error) is named).

Can I take away from the stacktrace the reference concerning the final technique earlier than calling Crashlytics.crashlytics().report(error: error)? And how you can do it?
There are different methods?

I am on the lookout for a option to inform Crashlytics that every one my non-fatal occasions should not coming from the identical line of code, however from the road that calls that line, so that every one the occasions should not grouped togheter.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments