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
I have searched existing issues to ensure the bug has not already been reported
Fastify version
4.15.0
Plugin version
4.0.0
Node.js version
18.13
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
13.2
Description
Since upgrading to 4.15.0, my fastify api can't boot anymore.
It throws: Invalid logger object provided. The logger instance should have these functions(s): 'child'
I use Pino, so the one logger that is recommended.
Prerequisites
Fastify version
4.15.0
Plugin version
4.0.0
Node.js version
18.13
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
13.2
Description
Since upgrading to 4.15.0, my fastify api can't boot anymore.
It throws:
Invalid logger object provided. The logger instance should have these functions(s): 'child'
I use Pino, so the one logger that is recommended.
Change was probably introduced here:
fastify/fastify#4657
fastify/fastify#4520
Bug is probably related to:
#574
Honestly I don't know, between fastify and cli, who's responsible for this bug report, feel free to move it.
Steps to Reproduce
Expected Behavior
Working
The text was updated successfully, but these errors were encountered: