Rollbar for WordPress
Getting started using Rollbar for WordPress is a quick three-step process:
At the Plugins configuration page, activate the Rollbar for WordPress plug-in.
Next, within the Settings menu, click on the new menu option called Rollbar to view the plug-in's settings page.
Optionally enter a string in the Environment field that pertains to the environment your warnings and errors should be logged against.
Click Save Changes. You're done!
- Nothing planned; if you've got an idea, contribute it as an GitHub Issue!
Tips & Tricks
Hardcoding Your Environment Name Into A Settings File
If you've got a sizable development team working on a WordPress project and a number of them are using Rollbar to debug issues, or you've got a development, staging and production environment that you regularly sync data across, you'll eventually run into a problem where you find out days or weeks later that a number of your environments have been reporting to Rollbar under the same name.
The easiest way to avoid this is to place a definition for the constant ROLLBAR_THIS_ENVIRONMENT in your wp-config settings file:
Once set, Rollbar for WordPress will always use this value regardless of the value set in the database.