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.goGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMillions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
add code to show how to initialise from json payload
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