Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/diegostamigni/highlightzap

A simple zapcore.Core implementation to integrate with Highlight.io
https://github.com/diegostamigni/highlightzap

Last synced: 5 days ago
JSON representation

A simple zapcore.Core implementation to integrate with Highlight.io

Awesome Lists containing this project

README

        

[![Go Report](https://goreportcard.com/badge/github.com/diegostamigni/highlightzap)](https://goreportcard.com/report/github.com/diegostamigni/highlightzap)

# Highlight Zap

A simple zapcore.Core implementation to integrate with Highlight.

To use, initialize highlight like normal, create a new HighlightCore, then wrap with a NewTee. [See the example code](example/main.go) for a detailed example.

## Testing

To test this code use `HL_PROJECT_ID=MY_HIGHLIGHT_TOKEN go test`