pino-http
pino-http copied to clipboard
Add support for other loggers
In development mode, other loggers such as signale
and consola
are extremely useful for being developer-friendly and easy on the eyes.
Might we be able to patch https://github.com/pinojs/pino-http/blob/master/logger.js#L76-L77 such that if no .child
method is available on the prevLogger
, it simply re-uses prevLogger
to do the logging?
I think it would be out of scope here. However, we might want to do a pino-signale module similar to how pino-pretty works.