Closed Yberion closed 1 year ago
Check out https://getpino.io/#/docs/bundling
Thanks for the answer.
I checked the plugin and how I could integrate that in our Angular project. I think it would add too much "overhead" and maintenance steps.
I will try to configure formatting using formatters
, base
, etc (without pino-pretty)
Hello,
I wanted to use
pino-pretty
on my Fastify SSR server on my Angular project, but it seems that it's not finding a module. I think it's related to how Angular compiles the project.I'm getting this error:
The
dist
folder looks as follow for a compiled Angular project (dev mode):I'm following the doc from https://www.fastify.io/docs/latest/Reference/Logging/#enable-logging
Is there an alternative to format the logs (removing fields, adding new ones)?
NodeJS
18.13.0
Fastify4.12.0
pino-pretty9.1.1
Typescript4.8.4
Angular14.2.x
(not using esbuild)