Sending the debug log

Android

To read the log, you can mail the debug log to yourself. With Plot all you have to do is call

Plot.mailDebugLog();

in your app, e.g. after a button click event. The method will start your mail client so you can send the debug log to yourself or your another developer. An example of this can be seen in our demo apps, which you can download from our dashboard.

Cordova/Phonegap

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.

The following snippet:

plot.mailDebugLog(function() {
    console.log("success");
}, function(e) {
    console.log("error: " + e);
});