Compare commits
1 Commits
8887031284
...
1d909ac034
Author | SHA1 | Date | |
---|---|---|---|
1d909ac034 |
@ -7,10 +7,7 @@ export const logger = winston.createLogger({
|
||||
transports: [new winston.transports.Console()],
|
||||
format: format.combine(
|
||||
format.errors({ stack: true }),
|
||||
format.printf(
|
||||
({ level, message, stack }) =>
|
||||
`${level}: ${message}${stack ? "\n" + stack : ""}`
|
||||
)
|
||||
format.printf(({ level, message }) => `${level}: ${message}`)
|
||||
),
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user