소스 검색

app: simpler winston settings

Jeffrey Morgan 1 년 전
부모
커밋
59fa93cdd4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()