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
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upType | Name | Latest commit message | Commit time |
---|---|---|---|
Failed to load latest commit information. | |||
![]() |
src |
|
|
![]() |
.gitignore |
|
|
![]() |
LICENSE |
|
|
![]() |
README.md |
|
|
![]() |
env.sh |
|
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