Closed robertsLando closed 4 years ago
This should be in the docs.
It is, at least I think I added a PR to update logs with this example
This has been added to pino core and will be part of pino@7.
BTW, it's here: https://getpino.io/#/docs/help?id=log-to-different-streams
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
By default pino uses stdOut as destination. I would like him to use stdError for all
error
logs levels. By digging in docs I found the only way is to usepino-tee
but I cannot find any example for thisUPDATE I have been able to do this in this way: