[QUESTION] reuse pino instance from FastifyAdapter
See original GitHub issueHi,
would it be possible to reuse the instance of pino
from the FastifyAdapter
?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
nestjs-pino-fastify - npm
Pino logger for NestJS for Fastify. Latest version: 2.2.6, last published: a year ago. Start using nestjs-pino-fastify in your project by ...
Read more >A Complete Guide to Pino Logging in Node.js - Better Stack
Learn how to start logging with Pino in Node.js and go from basics to best practices in no time.
Read more >How can i use custom logger in fastify? - Stack Overflow
I tried to understand how to register my logger with this simple example below, but fastify always use Pino. index.js const log =...
Read more >Fastify served with a refreshing Pino featuring Matteo Collina ...
npm allows the same dependency to be present thousands of times, at all the possible versions, which means that we have solved the...
Read more >Logging - Fastify
You can trigger new logs outside route handlers by using the Pino instance from the Fastify instance: fastify.log.info('Something important happened!');.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vabatta see example in this test
shipped in v0.6.0
you can use property
useExisting: true
in options object