Logtail Bunyan stream | Better Stack Documentation

Explore documentation

Start logging in 3 steps

1. Install

Install Logtail Bunyan and Logtail Node NPM packages:

Install Logtail packages

Copied!

2. Setup

Set up Logtail Bunyan stream:

Set up Bunyan logger

Copied!

3. Start logging 🎉

Use Bunyan logger as usual:

Send logs to Logtail

Copied!

You should see your logs in Logtail → Live tail.

Bunyan version 2.0.0 or higher is required.

Need help?

Please let us know at hello@betterstack.com.
We're happy to help! 🙏

Other Logtail clients

Looking for a different JavaScript logging solution? Check out Logtail clients for JavaScript and Node.js.