You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this no longer works, because fastify 5 only supports logger configuration but not preinstantiated logger. How does one use pino-pretty while still respecting the sync attribute now?
Your Environment
node version: 20
fastify version: >=5.0.0
The text was updated successfully, but these errors were encountered:
💬 Question here
Previously this was the way to instantiate a synchronous pino-pretty logger (which is very convenient for tests):
Unfortunately, this no longer works, because fastify 5 only supports logger configuration but not preinstantiated logger. How does one use pino-pretty while still respecting the
sync
attribute now?Your Environment
The text was updated successfully, but these errors were encountered: