rollbar

package
v0.0.0-...-b6fc690 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentCmd string

CurrentCmd holds the value of the current command being invoked it's a quick hack to allow us to log the command to rollbar without risking exposing sensitive info

View Source
var (
	DoNotReportMessages doNotReport
)

Functions

func AddLogDataAmender

func AddLogDataAmender(f func(string) string)

AddLogDataAmender routes log data to be sent to Rollbar through the given function first. For example, that function might add more log data to be sent.

func Critical

func Critical(message string, args ...interface{})

Critical logs a critical error to rollbar.

func Error

func Error(message string, args ...interface{})

Error logs an error to rollbar.

func SetConfig

func SetConfig(cfg config)

func SetupRollbar

func SetupRollbar(token string)

func UpdateRollbarPerson

func UpdateRollbarPerson(userID, username, email string)

func Wait

func Wait()

Wait is a wrapper around rollbar.Wait().

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL