This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

branch-log-sentry

0.5.2 • Public • Published

log-sentry

Sentry integration for branch-log.

NPM Version Build Status Coverage Status

var log = require('branch-log');
var logSentry = require('branch-log-sentry');

var ravenClient; // existing Raven client

var sentryHandler = logSentry(ravenClient);
log.setHandler(sentryHandler);

Installation

$ npm install

Usage

Also supports taking a callback. This allows you to ensure logs have reached Sentry before exiting:

var fatalHandler = logSentry(ravenClient, function () {
	process.exit(1);
});

log.setHandler('fatal', fatalHandler);

Testing

Install the development dependencies first:

$ npm install

Then the tests:

$ npm test

Support

Please open an issue on this repository.

Authors

  • Jack Fransham
  • Alex Forbes-Reed (adapted from Cuvva)

License

MIT licensed - see LICENSE file

Readme

Keywords

none

Package Sidebar

Install

npm i branch-log-sentry

Weekly Downloads

0

Version

0.5.2

License

MIT

Last publish

Collaborators

  • 0xdeafcafe