←back to thread

Next.js is infuriating

(blog.meca.sh)
1033 points Bogdanp | 1 comments | | HN request time: 0.722s | source
1. theogravity ◴[] No.45106225[source]
I also had similar issues and wrote a guide on how to use LogLayer + pino to get server-side logs working properly.

https://loglayer.dev/example-integrations/nextjs.html

Overall, the logging experience in Next.js is terrible, and not being able to chain middleware, even more so.