Replies: 1 comment 3 replies
-
|
Hi @thanoskrg do you want to have the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let us bring our own logger
Hi Langfuse team, thanks for the great package that you've built!
I'd like to check whether it is on your roadmap to allow SDK consumers to bring their own logger setup, i.e
pinoinstance.This would be great in large applications, and would also remove friction from having to setup different logging, i.e
configureGlobalLoggerfor Langfuse specifically, and let your SDK inherit our logger setup.For example, we are deploying a Google Cloud Run instance, and for it to work we are using https://www.npmjs.com/package/@google-cloud/pino-logging-gcp-config along with our
pinosetup in order to format log messages and make the compliant with how GCP Logging Explorer needs them to be.Unfortunately the fact that I cannot bring my own logger when setting up Langfuse in my app, I lose all this configuration.
I'd love to see your thoughts on this one.
Beta Was this translation helpful? Give feedback.
All reactions