11-19-2019 01:05
11-19-2019 01:05
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.
11-19-2019 11:34
11-19-2019 11:34
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.
11-21-2019 03:38
11-21-2019 03:38
Thanks very much for your info.
Seems we don't have an official system module to do such a thing.