Documentation ¶
Overview ¶
Package rollbar provides helpers for setting up rollbar error reporting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReportPanic ¶
func ReportPanic(logger logrus.FieldLogger)
ReportPanic attempts to report the panic to rollbar via the logrus.
func Setup ¶
func Setup(logger logrus.FieldLogger, cfg Config)
Setup installs a Rollbar report handler to the default logrus logger.
Setup is skipped if Token and Env are not present in the config.
Types ¶
Click to show internal directories.
Click to hide internal directories.