brendan-rius / ember-cli-rollbar

Include the Rollbar client your Ember app, and report Ember.Logger.error() to Rollbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ember-cli-rollbar

Drop-in Rollbar error reporting integration.

Installation

Just add your Rollbar client-side access token to your config/environment.js:

var ENV = {
  //...
  rollbar: {
    accessToken: '<your token here>'
  }
};

The rollbar config object is used to configure Rollbar, and defaults to the following options:

{
  enabled: environment !== 'development',
  captureUncaught: true,
  payload: {
    environment: environment
  }
}

Usage

By default, any calls to Ember.Logger.error() will be logged to Rollbar.

About

Include the Rollbar client your Ember app, and report Ember.Logger.error() to Rollbar

License:Other


Languages

Language:JavaScript 72.6%Language:HTML 19.0%Language:Shell 8.4%