airbrake-init
v0.2.0
Published
Helps to create node-airbrake and winston-airbrake instances
Downloads
6
Readme
Node AirbrakeInit
Helps to instantiate node-airbrake and winston-airbrake
Installation
Using npm form the command line
$ npm install --save airbrake-init
Usage
var options = { 'projectId': '123', 'apiKey': 'key', 'whiteListKeys': ['FOO'] };
var airbrake = require('airbrake-init').initAirbrake(options);
var options = { 'apiKey': 'key', 'whiteListKeys': ['FOO'] };
var winstonAirbrake = require('airbrake-init').initWinstonAirbrake(options);