diff --git a/app.js b/app.js index 6a9ef93..e4f6497 100644 --- a/app.js +++ b/app.js @@ -25,6 +25,7 @@ const logger = winston.createLogger({ new winston.transports.Console(), ], }); + // 创建自定义Stream,将日志写入Winston const winstonStream = { write: (message) => {