bunyan stream of ServerChan (A push service at http://sc.ftqq.com/)
bunyan is a node.js module to handle errors. And it provides a interface for developers to handle the errors.
This module is a wrapper of ServerChan push service, to send the error catght by bunyan.
npm install bunyan-serverchan --save
var ServerChan = require('bunyan-serverchan');
bunyan.createLogger({
name: 'app',
streams:[{
level: 'error',
stream: new ServerChan({key:MY_SERVER_CHAN_KEY})
}]
});
- First release.