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 ¶
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 SetupRollbar ¶
func SetupRollbar(token string)
func UpdateRollbarPerson ¶
func UpdateRollbarPerson(userID, username, email string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.