@soxhub/rollbar-hapi

0.0.11 • Public • Published

rollbar-hapi

A Hapi plugin for rollbar painless integration

GitHub license Travis Coveralls npm npm GitHub stars

installation

npm install rollbar-hapi --save

Use of

server.register({
        register: require('./rollbar/index'),
        options: {
            accessToken: '',
            environment: '', // optional, defaults to process.env.NODE_ENV
            handleUncaughtExceptions: true // optional, defaults to false
        }
    }, function (err) {
        if (err) throw err;
    });

Exposes

server.plugins['rollbar-hapi'].rollbar // the rollbar module, already initialised

The exposed `rollbar` above can be used to access rollbar's `log`, `debug`, `info`, `warning`, 
`error`, and `critical` methods

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.110latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.110
0.0.100

Package Sidebar

Install

npm i @soxhub/rollbar-hapi

Weekly Downloads

0

Version

0.0.11

License

none

Last publish

Collaborators

  • rajivm