You just need to configure two appenders like this: log4js.configure({ appenders: { consoleAppender: { type: 'console' }, fileAppender: ...
確定! 回上一頁