Skip to content

Commit

Permalink
chore: switch deprecated prettyPrint (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmauromb authored Dec 9, 2023
1 parent 085cc97 commit e2e0b8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
const { join } = require('node:path')
const fastify = require('fastify')({
logger: {
prettyPrint: true
transport: {
target: 'pino-pretty',
options: {
colorize: true
}
}
}
})
const superheroes = require('superheroes')
Expand Down

0 comments on commit e2e0b8e

Please sign in to comment.