If an optional function is set, e.g. as optionobjectPrettifiers, it should be called in lib/utils.js#L407 instead of the included prettifier.
This would allow to format the data-output with tools like jsome for a better readable dev output.
The same feature errorPrettifiers could be used for errors lib/utils.js#L421, so we could use pino-pretty and add an option to format errors like in pino-pretty-min, example image.
If an optional function is set, e.g. as option
objectPrettifiers
, it should be called in lib/utils.js#L407 instead of the included prettifier.This would allow to format the data-output with tools like jsome for a better readable dev output.
The same feature
errorPrettifiers
could be used for errors lib/utils.js#L421, so we could use pino-pretty and add an option to format errors like in pino-pretty-min, example image.