iamolegga / nestjs-pino

Platform agnostic logger for NestJS based on Pino with REQUEST CONTEXT IN EVERY LOG
MIT License
1.26k stars 98 forks source link

[QUESTION] assign on non http requests #1035

Closed schealex closed 2 years ago

schealex commented 2 years ago

[x] I've read the docs of nestjs-pino

[x] I've read the docs of pino

[x] I couldn't find the same question about nestjs-pino

Question We have microservices which handle both http and also rabbitmq request-context. Is there a way to make this logger able to register the store and have logger.assign working for non http requests?

Please mention other relevant information such as Node.js version and Operating System.

iamolegga commented 2 years ago

duplicate of PINNED issue #803