Browse Source

app: simpler winston settings

Jeffrey Morgan 1 năm trước cách đây
mục cha
commit
59fa93cdd4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/src/index.ts

+ 1 - 1
app/src/index.ts

@@ -25,7 +25,7 @@ const logger = winston.createLogger({
       maxFiles: 5,
     }),
   ],
-  format: winston.format.printf(info => `${info.message}`),
+  format: winston.format.printf(info => info.message),
 })
 
 const SingleInstanceLock = app.requestSingleInstanceLock()