简体   繁体   中英

Log Javascript & Electron (Atom-Shell)

I am looking for a mechanism/library that I can save the output of the javascript console (or a logger) to a file.

I know normally browsers don't let the applications to access the file system, but I am wondering if it is possible with Electron (Atom-Shell).

Yep, just use any node.js logging framework. We use Winston in our app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM