Closed binarykitchen closed 1 month ago
Related to https://github.com/pinojs/pino-http/issues/60
I think I should fine-tune with serializers.
Related to https://github.com/pinojs/pino-http/issues/60
I think I should fine-tune with serializers.
Yes. That would be an appropriate choice.
In short: too much is logged for humans.
The longer version:
Imagine, you are a tired developer, using this cool library, do not want to scroll too much at late hour and have this code:
... and a big JSON is printed in the console. Something like that:
Of course, this information is great for production. For local development, I'm only keen on, like the API URL/method, parameters, response and any errors if any; all that on a single line. Nothing else further.
I read your documentation two times, and haven't found a recipe for this yet, hence I raised this issue.