Need advice about which tool to choose?Ask the StackShare community!

Bunyan

81
14
+ 1
0
Zap

9
28
+ 1
0
Add tool

Zap vs Bunyan: What are the differences?

Developers describe Zap as "Blazing fast, structured, leveled logging in Go (by Uber)". Zap takes a different approach. It includes a reflection-free, zero-allocation JSON encoder, and the base Logger strives to avoid serialization overhead and allocations wherever possible. By building the high-level SugaredLogger on that foundation, zap lets users choose when they need to count every allocation and when they'd prefer a more familiar, loosely typed API. On the other hand, Bunyan is detailed as "A logging module for node.js services". It is a simple and fast JSON logging module for node.js services. It has extensible streams system for controlling where log records go (to a stream, to a file, log file rotation, etc.).

Zap and Bunyan can be categorized as "Logging" tools.

Zap and Bunyan are both open source tools. Zap with 7.81K GitHub stars and 597 forks on GitHub appears to be more popular than Bunyan with 5.96K GitHub stars and 488 GitHub forks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More

Sign up to add or upvote prosMake informed product decisions

Sign up to add or upvote consMake informed product decisions

What is Bunyan?

It is a simple and fast JSON logging module for node.js services. It has extensible streams system for controlling where log records go (to a stream, to a file, log file rotation, etc.)

What is Zap?

Zap takes a different approach. It includes a reflection-free, zero-allocation JSON encoder, and the base Logger strives to avoid serialization overhead and allocations wherever possible. By building the high-level SugaredLogger on that foundation, zap lets users choose when they need to count every allocation and when they'd prefer a more familiar, loosely typed API.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Bunyan?
What companies use Zap?
    No companies found
    See which teams inside your own company are using Bunyan or Zap.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Bunyan?
    What tools integrate with Zap?
    What are some alternatives to Bunyan and Zap?
    Log4j
    It is an open source logging framework. With this tool – logging behavior can be controlled by editing a configuration file only without touching the application binary and can be used to store the Selenium Automation flow logs.
    Loki
    Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate, as it does not index the contents of the logs, but rather a set of labels for each log stream.
    Seq
    Seq is a self-hosted server for structured log search, analysis, and alerting. It can be hosted on Windows or Linux/Docker, and has integrations for most popular structured logging libraries.
    CocoaLumberjack
    CocoaLumberjack is a fast & simple, yet powerful & flexible logging framework for Mac and iOS.
    Castle Core
    It provides common Castle Project abstractions including logging services. It also features Castle DynamicProxy a lightweight runtime proxy generator, and Castle DictionaryAdapter.
    See all alternatives