ember-cli-rollbar
Drop in Rollbar reporting for Ember ClI.
Last updated 3 years ago by davewasmer .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install ember-cli-rollbar 
SYNC missed versions from official npm registry.

ember-cli-rollbar

Dependency Status Build Status

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.

You can also import the Rollbar javascript API as an ES2015 module

import rollbar from 'rollbar';

rollbar.critical('Someone tripped over the power cord!');

For details on using the Rollbar javascript API, please check out their documentation.

Current Tags

  • 0.3.1                                ...           latest (3 years ago)

18 Versions

  • 0.3.1                                ...           3 years ago
  • 0.3.1-beta.1                                ...           3 years ago
  • 0.3.0                                ...           4 years ago
  • 0.3.0-beta.1                                ...           4 years ago
  • 0.2.6                                ...           5 years ago
  • 0.2.5                                ...           5 years ago
  • 0.2.4                                ...           5 years ago
  • 0.2.3                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |