-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[FEATURE] Application logging #3482
Comments
It's great having you contribute to this projectWelcome to the community 🤓If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know. |
Thanks for the suggestion 👍 I will take a look. We also need it to log to a service, so we can have the maintainers view the logs - I will need to do more research |
Related - Can we use a toast message or something similar to show errors? As of now, I see we are using |
According to the official docs by Next Js, we can use Pino as the logger for the application's server. This is the example repo - next-pino-logflare-logging-example Or we can have a discussion on the pros and cons of different logging plugins. Can I also work on this issue? |
Description
We need to decide on how and where to log the application logs
Winston is a popular logging library https://www.npmjs.com/package/winston
NextJS recommend https://www.npmjs.com/package/pino
Screenshots
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: