Skip to content

Commit

Permalink
Add logging for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
holzmaster committed Jul 23, 2024
1 parent 6fca354 commit dc47cfc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/utils/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ const loggingConfigs = {
},
},
},
test: {
level: logLevel,
transport: {
target: "pino-pretty",
options: {
colorize: false,
ignore: "pid,hostname",
},
},
},
production: {
level: logLevel,
transport: {
Expand Down

0 comments on commit dc47cfc

Please sign in to comment.