1.2.0 • Published 9 years ago

good-rollbar v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Example

var hapi = new Hapi.Server('127.0.0.1', 8080);

hapi.pack.register({
  plugin : require('good'),
  options : {
    reporters : [
      {
        reporter : require('good-rollbar'),
        args : [
          {
            accessToken : 'YOUR ROLLBAR ACCESS TOKEN',

            // Any option you can pass as the second parameter to rollbar.init
            // See https://rollbar.com/docs/notifier/node_rollbar/#configuration-reference
            config      : {
              environment : process.env.NODE_ENV || 'development',
              root        : process.cwd(),
              verbose     : false
            }
          }
        ]
      }
    ]
  }
}, function(err) {
  if (err) {
    console.log(err);
    return;
  }
});
1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.0.1

10 years ago