[英]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.我正在寻找一种机制/库,我可以将 javascript 控制台(或记录器)的输出保存到文件中。
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).我知道通常浏览器不允许应用程序访问文件系统,但我想知道 Electron (Atom-Shell) 是否可行。
Yep, just use any node.js logging framework.是的,只需使用任何 node.js 日志记录框架。 We use Winston in our app.
我们在我们的应用程序中使用 Winston。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.