We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To include Airbrake in your GoLang application you'll need to import the Gobrake code, available on our official GitHub repo
(You can find your project ID and API KEY with your project's settings):
package main import ( "errors" "github.com/airbrake/gobrake" ) var airbrake = gobrake.NewNotifierWithOptions(&gobrake.NotifierOptions{ ProjectId: <Your project ID>, ProjectKey: "<Your project ID>", Environment: "production", }) func main() { defer airbrake.Close() defer airbrake.NotifyOnPanic() airbrake.Notify(errors.New("operation failed"), nil) }
Check out our official GitHub repo for info on advanced features like ignoring errors and setting error severity.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example Usage
To include Airbrake in your GoLang application you'll need to import the Gobrake code, available on our official GitHub repo
(You can find your project ID and API KEY with your project's settings):
Check out our official GitHub repo for info on advanced features like ignoring errors and setting error severity.
The text was updated successfully, but these errors were encountered: