book-pagerduty
pagerduty notifier for panic logs
Last updated 5 years ago by defunctzombie .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install book-pagerduty 
SYNC missed versions from official npm registry.

book-pagerduty

Pagerduty notifier for panic logs from book

var log = require('book').default();
var pagerduty = require('book-pagerduty');

// configure with your service_key URL style
log.use(pagerduty('https://events.pagerduty.com/e93facc04764012d7bfb002500d5d1a6'));

// will send to pagerduty
log.panic('test error');

// will not send to pagerduty
log.error('no pagerduty');

Tips

I recommend using bookrc for your apps and setting up your logging configration there.

License

MIT

Current Tags

  • 0.2.0                                ...           latest (5 years ago)

2 Versions

  • 0.2.0                                ...           5 years ago
  • 0.1.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |