Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 979 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 979 Bytes

Full request / response logging in Next.js with Pino

Example of patching Next.js to have full request / response logs via Pino.

See the article here: https://www.tomups.com/posts/log-nextjs-request-response-as-json/

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Check the terminal to see the logs.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!