Update index.ts
This commit is contained in:
parent
5416bf2523
commit
8d5dc5dd51
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import "winston-daily-rotate-file";
|
|||
|
||||
const { combine, timestamp, printf, colorize, align, json } = winston.format;
|
||||
|
||||
export default winston.createLogger({
|
||||
export default await winston.createLogger({
|
||||
level: process.env.LOG_LEVEL || "silly",
|
||||
transports: [
|
||||
new winston.transports.DailyRotateFile({
|
||||
|
|
Loading…
Add table
Reference in a new issue