Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Nov 25, 2023
1 parent d0bc260 commit 836577d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const logger = winston.createLogger({
new winston.transports.Console(),
],
});

// 创建自定义Stream,将日志写入Winston
const winstonStream = {
write: (message) => {
Expand Down

0 comments on commit 836577d

Please sign in to comment.