You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every log message has a "context" object that's supposed to contain info about where the log was called from. But it seems to always be the same value, so it isn't useful information and just wastes space. I'm not sure if there's any way to remove this data either.
This is for the @logtail/pino module specifically, but I tried copying it and modifying the stackFrameHint, but I can't seem to get it to do anything other than log the transport file. It might be an issue with how the @logtail/node module gets the stack frame.
The text was updated successfully, but these errors were encountered:
Unfortunately due to how Pino runs the transport code, it's not possible to add relevant context the same way. We've decided to omit the context altogether in Pino.
Every log message has a "context" object that's supposed to contain info about where the log was called from. But it seems to always be the same value, so it isn't useful information and just wastes space. I'm not sure if there's any way to remove this data either.
Context object:
This is for the @logtail/pino module specifically, but I tried copying it and modifying the
stackFrameHint
, but I can't seem to get it to do anything other than log the transport file. It might be an issue with how the@logtail/node
module gets the stack frame.The text was updated successfully, but these errors were encountered: