Update index.ts
This commit is contained in:
parent
ab052375bb
commit
021e30c382
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;
|
const { combine, timestamp, printf, colorize, align, json } = winston.format;
|
||||||
|
|
||||||
export default winston.createLogger({
|
export default await winston.createLogger({
|
||||||
level: process.env.LOG_LEVEL || "silly",
|
level: process.env.LOG_LEVEL || "silly",
|
||||||
transports: [
|
transports: [
|
||||||
new winston.transports.DailyRotateFile({
|
new winston.transports.DailyRotateFile({
|
||||||
|
|
Loading…
Add table
Reference in a new issue