Install Logtail Bunyan and Logtail Node NPM packages:
Set up Logtail Bunyan stream:
Use Bunyan logger as usual:
You should see your logs in Logtail → Live tail.
Bunyan version 2.0.0 or higher is required.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
Looking for a different JavaScript logging solution? Check out Logtail clients for JavaScript and Node.js.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.