All Apps and Add-ons

Splunk MINT SDK for iOS: How to send console logs with crash reports when in release mode?

New Member

I've integrated the console logs messages with our unhandled crash reports using the Splunk MINT SDK for iOS.

The documentation describes that "your unhandled crash reports will include the last X NSLog messages with the request": http://docs.splunk.com/Documentation/MintIOSSDK/5.1.x/DevGuide/Dispatchsystemlogmessages

What should we do for release mode? Apple recommends disabling NSLog when the app is released.

How can we attach some console logs with the crash reports?

0 Karma

Splunk Employee
Splunk Employee

If you disable NSLog, MINT won’t pick up console messages. But you could use breadcrumbs to track application activity. Breadcrumbs are available in the crash report, so you could track what happened in your app before a crash.

0 Karma