Sending the debug log
iOS¶
You might need to mail the debug log to yourself. With Plot all you have to do is call Plot's provided method, e.g. after a button click event.
Objective-C:
(void)mailDebugLog:(UIViewController*)viewController
Swift:
func mailDebugLog(UIViewController:viewController)
The method will start your mail client so you can send the debug log (a log file generated by plot) to yourself or your nearest developer.
Note: this method should only be used when compiling for DEBUG. An example of this can be seen in our demo apps, which you can download from our dashboard.