pino-sentry
pino-sentry copied to clipboard
Does not add any extras to logs
Hi, I tried various of approaches to add some extra data via extra, tags, breadcrumbs , nothing worked. I don't see that additional data logged into sentry.
req.log.error({
message: error.message || 'An unknown error occured',
trace: error.stack,
extra: { type: 'bobas', foo: 'bar' },
tags: { type: 'testinu', foo: 'bar' },
breadcrumbs: [
{
category: 'auth',
message: 'please something',
level: 'info',
},
],
});
that's my logging, the issue appears on sentry, however no additional data. Any ideas?
I tried using this tool and get very few logs as well.. I guess a PR makes sense here..?