Documentation ¶
Index ¶
- Variables
- func Critical(err error, custom map[string]string) (uuid string, e error)
- func CriticalStack(err error, ptrs []uintptr, custom map[string]string) (uuid string, e error)
- func Debug(msg string, custom map[string]string) (uuid string, e error)
- func Error(err error, custom map[string]string) (uuid string, e error)
- func ErrorStack(err error, ptrs []uintptr, custom map[string]string) (uuid string, e error)
- func Info(msg string, custom map[string]string) (uuid string, e error)
- func Warning(err error, custom map[string]string) (uuid string, e error)
- func WarningStack(err error, ptrs []uintptr, custom map[string]string) (uuid string, e error)
- type Client
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Endpoint is the default HTTP(S) endpoint that all Rollbar API requests // will be sent to. By default, this is Rollbar's "Items" API endpoint. If // this is blank, no items will be sent to Rollbar. Endpoint = endpoint // Rollbar access token for the global client. If this is blank, no items // will be sent to Rollbar. Token = "" // Environment for all items reported with the global client. Environment = "development" )
Functions ¶
func CriticalStack ¶
func ErrorStack ¶
Types ¶
type Client ¶
type Client interface { Critical(err error, custom map[string]string) (uuid string, e error) CriticalStack(err error, ptrs []uintptr, custom map[string]string) (uuid string, e error) Error(err error, custom map[string]string) (uuid string, e error) ErrorStack(err error, ptrs []uintptr, custom map[string]string) (uuid string, e error) Warning(err error, custom map[string]string) (uuid string, e error) WarningStack(err error, ptrs []uintptr, custom map[string]string) (uuid string, e error) Info(msg string, custom map[string]string) (uuid string, e error) Debug(msg string, custom map[string]string) (uuid string, e error) }
Client reports items to a single Rollbar project.
Click to show internal directories.
Click to hide internal directories.