From 836577d9606a9439b8591bfb98e275ffc2e9000c Mon Sep 17 00:00:00 2001 From: SUNWUYUAN <1847261658@qq.com> Date: Sat, 25 Nov 2023 15:59:25 +0800 Subject: [PATCH] 1 --- app.js | 1 + 1 file changed, 1 insertion(+) 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) => {