bearcherian / rollzap

A custom zapcore.Core to send logs to rollbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Rollbar Zap

A simple zapcore.Core implementation to integrate with Rollbar.

To use, initialize rollbar like normal, create a new RollbarCore, then wrap with a NewTee. See the example code for a detailed example.

Testing

To test this code use RC_TOKEN=MY_ROLLBAR_TOKEN go test

About

A custom zapcore.Core to send logs to rollbar

License:MIT License


Languages

Language:Go 100.0%