Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/diegostamigni/highlightzap
- Owner: diegostamigni
- License: mit
- Created: 2023-09-27T14:20:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-27T14:22:17.000Z (over 1 year ago)
- Last Synced: 2024-10-15T19:11:46.401Z (4 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`