Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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