electron -log可以记录日志到本地首先通过npmielectron-log来安装通过constlog=require('electron-log')引入设置log.transports.file.
確定! 回上一頁