Skip to main content

Zap

Recommendation
Updated
Moved
USE
2021-09-26

What is it

Zap is a logging SDK for Go developed by Uber Engineering.

When to use it

Use Zap as the primary logging API for your Go application.

tip

If you run your service with Cloud Runner, you'll get a Zap logger that is configured to work optimally with Cloud Logging.

We use Zap because it brings a combination of the following key aspects:

  • It's widely adopted
  • It's extensible to our use cases
  • It's built with performance in mind

How to learn it