Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diegostamigni/logzzap
A simple zapcore.Core implementation to integrate with logz.io
https://github.com/diegostamigni/logzzap
Last synced: 5 days ago
JSON representation
A simple zapcore.Core implementation to integrate with logz.io
- Host: GitHub
- URL: https://github.com/diegostamigni/logzzap
- Owner: diegostamigni
- License: mit
- Created: 2023-09-27T15:24:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T15:05:33.000Z (over 1 year ago)
- Last Synced: 2023-11-02T15:43:55.508Z (over 1 year ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![GoDoc][doc-img]][doc] [![Go Report][report-img]][report]
# Logz Zap
A simple zapcore.Core implementation to integrate with Logz.
To use, initialize logz like normal, create a new LogzCore, then wrap with a NewTee. [See the example code](example/main.go) for a detailed example.
## Testing
To test this code use `LZ_TOKEN=MY_LOGZ_TOKEN go test`
[doc-img]: https://pkg.go.dev/badge/diegostamigni/logzzap
[doc]: https://pkg.go.dev/github.com/diegostamigni/logzzap
[report-img]: https://goreportcard.com/badge/github.com/diegostamigni/logzzap
[report]: https://goreportcard.com/report/github.com/diegostamigni/logzzap