Install the @logtail/pino npm package:
Set up the Pino logger with the Better Stack transport:
Use the Pino logger as usual:
You should see your logs in Better Stack → Live tail.
The @logtail/pino transport supports Pino v7 and above.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
Want to learn more about Pino log levels and adding contextual data to your logs?
Check out our Complete Guide to Pino Logging in Node.js.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.