根@-~# cd /home/bot root@
错误: log4js配置出现问题:({ appenders:{ type:'console‘},{ type:'file',filename:’log/在(/home/bot/node_modules/log4js/lib/configuration.js:43:15) at Array.forEach (原生) at
我正在遍历JSON数据,但我无法获得console.log格式的值。你能告诉我怎么修吗?我正在为我的控制台编写正确的语法。我提供我的代码如下:
for (var i = 0; i < allProfile.length; i++) { console.log(allProfile[i].Class of Service 1);}
var allProfile
如何读取这个log.log文件?/log.log", (err, file) => { //adding "utf-8" only logs a small portion of the .log file, but I was toldconsole.log(file);};Attempted to divide by zero.