Skip to content

Commit

Permalink
fix: fastify log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
zAlweNy26 committed Apr 1, 2024
1 parent dcd61b6 commit 8ea41f0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ const fastify = Fastify({
level: parsedEnv.logLevel,
customLevels: {
error: 60,
warning: 40,
normal: 30,
info: 20,
debug: 0,
warning: 50,
normal: 40,
info: 30,
debug: 20,
},
levelComparison: 'DESC',
transport: {
target: '@mgcrea/pino-pretty-compact',
options: {
Expand Down

0 comments on commit 8ea41f0

Please sign in to comment.