11-19-2019 01:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-19-2019 01:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


11-19-2019 11:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
Gondwana Software

11-21-2019 03:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-21-2019 03:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks very much for your info.
Seems we don't have an official system module to do such a thing.

