[ Node.js ] winstonjs rangeError Maximum call stack size exceeded
Reference: https://github.com/winstonjs/winston/issues/862
在 winston/common.js 第217行 加入 options.meta = meta;
https://github.com/winstonjs/winston/blob/master/lib/winston/common.js#L217
在 winston/common.js 第217行 加入 options.meta = meta;
https://github.com/winstonjs/winston/blob/master/lib/winston/common.js#L217
// Remark: this should really be a call to `util.format`. | |
// | |
if (typeof options.formatter == 'function') { | |
options.meta = meta; | |
return String(options.formatter(exports.clone(options))); | |
} |
留言
張貼留言