Zap
Record structured Go logs with named fields and values.
uber-go · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add go.uber.org/zap at v1.28.0. Capture an in-memory stock event and check its label and count.
What we tested
v1.28.0. Capture an in-memory stock event and check its label and count. Captured one log record containing the fictional label and count.