Closed hraban closed 3 years ago
Interesting. That snippet made sense as merged in that PR, but has since been edited to lose its intended meaning.
I think we made a mistake in https://github.com/pinojs/pino/pull/928. Would you like to send a PR to fix?
PR: #952
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.
The section on mixins in the readme has the following code:
but (after fixing the last two
pino
references tologger
), the prophecy in the logs doesn't actually come to be.What was this bit of code intended to illustrate?
https://github.com/pinojs/pino/blob/master/docs/api.md#mixin-function