pino icon indicating copy to clipboard operation
pino copied to clipboard

Reopen #618, it is a valid feature request

Open kaspar-p opened this issue 1 year ago • 3 comments

I second the use-case mentioned in https://github.com/pinojs/pino/issues/618, and think it should be reopened. Practically, it is extremely useful to know when something that's meant to exist does not exist, and not logging that fact is harmful to the usefulness of pino. It is technically correct, the worst kind.

kaspar-p avatar Jun 06 '24 18:06 kaspar-p

How is this not solvable with a data property and a custom serializer?

jsumners avatar Jun 06 '24 19:06 jsumners

Maybe it is :). Could you write a quick example of how I would do something like that? Might be useful for the future when folks Google a similar thing.

kaspar-p avatar Jun 06 '24 19:06 kaspar-p

Please refer to our documentation.

jsumners avatar Jun 06 '24 19:06 jsumners