Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is any offline logging API available?

I know we can use `console.log` to output logs to the console, but I'm wondering if we have the logging system like android's, which can record all the app's trace log into one log file, so it's possible to fetch it out to analysis after a long time running of application, this will be helpful for debugging on hard-to-reproduce bugs.

Best Answer
0 Votes
2 REPLIES 2

I think someone wrote a module for that. IIRC, it just wrote logging to a file on the device, and provided a way of transferring that to the companion. This could be a good use for cluster storage.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

@Gondwana 

Thanks very much for your info.

Seems we don't have an official system module to do such a thing.

Best Answer
0 Votes