We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1beaf commit 09dbd96Copy full SHA for 09dbd96
utils/utils/src/logger.ts
@@ -4,7 +4,7 @@ const { combine, timestamp, json, errors } = winston.format;
4
5
export const logger = winston.createLogger({
6
level: 'info',
7
- format: combine(errors({ stack: true }), timestamp(), json()),
+ format: combine(errors({ stack: true, cause: true }), timestamp(), json()),
8
transports: [
9
new winston.transports.Stream({
10
stream: process.stdout,
0 commit comments