You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import the Airbrake library, configure it, and then use it to report errors to Airbrake. Airbrake also integrates with libraries like log4j2 and logback.
Installation
Install option 1: Maven
Add the javabrake dependency through your IDE or directly to your
pom.xml
file:Install option 2: Gradle
Add javabrake to your Gradle dependencies:
Install option 3: Ivy
Add javabrake to your Ivy dependencies:
Configuration
Import the Airbrake library, configure it, and then use it to report errors to Airbrake. Airbrake also integrates with libraries like log4j2 and logback.
(You can find your project ID and API key in your project's settings)
Example of reporting a caught exception using
notifier
directly:Example using the
Airbrake
proxy class:Full documentation
Visit our official GitHub repo for advanced information and integrations like log4j, log4j2, and logback.
The text was updated successfully, but these errors were encountered: