Categorygithub.com/jacobweinstock/rollzap
modulepackage
0.1.3
Repository: https://github.com/jacobweinstock/rollzap.git
Documentation: pkg.go.dev

# README

Test Go Report

Rollbar Zap

A simple zapcore.Core implementation to integrate with Rollbar. (forked and modified from https://github.com/bearcherian/rollzap)

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

# Packages

No description provided by the author

# Functions

NewRollbarCore creates a new core to transmit logs to rollbar.

# Structs

RollbarCore is a custom core to send logs to Rollbar.