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
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