Returns a new printer.
The common options between this and pino-pretty options are set from the first object itself. pinoPrettyOptions is forwarded to pino-pretty for non-http logs (when all is true).
Spin up server that uses a pino http logger and pipe it to pino-http-print
node server | pino-http-print
CLI Arguments
-all (-a): Causes pino-http-print to also print non-HTTP log messages by passing them through to pino-pretty.
--colorize (-c): Adds terminal color escape sequences to the output.
--translateTime (-t): Translate the epoch time value into a human readable
date and time string. This flag also can set the format string to apply when
translating the date to human readable format. This is the same as pino-prettytranslateTime
The default format is yyyy-mm-dd HH:MM:ss.l o in UTC.