Using the zap logging library This repository provides some examples of using Uber's zap Go logging library Install the zap library before trying out the examples: $ source env.sh $ go get -u go.uber.org/zap $ go run src/simple1/main.go Examples Simplest usage using presets Creating a custom logger Using the global logger Creating custom encoders for metadata fields