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