Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
VermiumSifell committed May 17, 2022
1 parent 8d5dc5d commit b17dfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import "winston-daily-rotate-file";

const { combine, timestamp, printf, colorize, align, json } = winston.format;

export default await winston.createLogger({
export default winston.createLogger({
level: process.env.LOG_LEVEL || "silly",
transports: [
new winston.transports.DailyRotateFile({
Expand Down

0 comments on commit b17dfa6

Please sign in to comment.