The highest tagged major version is
v7.
package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Oct 21, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
README
¶
Rollbar Plugin
This plugin will send every log with a level >= Error to rollbar.
Configuration
This plugin need two different environment variables:
ROLLBAR_TOKEN
: The rollbar token used to authenticate against the Rollbar API
GO_ENV
: The go environment
Usage
To use it add this to your main:
rollbarplugin.Register()
Documentation
¶
Register the plugin to the logger library
type RollbarPlugin struct{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.