引入log4js依賴,配置類如下: const log4js = require('log4js'); log4js.configure({ ... type: 'dateFile', //指定日志文件按時間打印
確定! 回上一頁