aandrewww / pino-sentry

🚥 Load pino logs into Sentry
MIT License
61 stars 29 forks source link

compatibility with pino-pretty #70

Open pieterjandebruyne opened 2 months ago

pieterjandebruyne commented 2 months ago
 const logger = pino(
    {
      transport: {
        target: 'pino-pretty',
           options: {
            colorize: true,
         },
      },
    },
    stream
  );

Using pino-pretty does not work when trying to forward messages to sentry

glensc commented 2 months ago

in your example you only configure one target stream: pino-pretty. make example standalone for the problem to be understood (what is stream?).