https://github.com/toobug/bunyan-serverchan
bunyan stream for ServerChan (message push service)
https://github.com/toobug/bunyan-serverchan
bunyan bunyan-stream serverchan
Last synced: 12 months ago
JSON representation
bunyan stream for ServerChan (message push service)
- Host: GitHub
- URL: https://github.com/toobug/bunyan-serverchan
- Owner: TooBug
- Created: 2016-01-18T01:10:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-18T02:15:19.000Z (over 10 years ago)
- Last Synced: 2025-06-22T11:06:52.376Z (12 months ago)
- Topics: bunyan, bunyan-stream, serverchan
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# bunyan stream of ServerChan (A push service at )
## what
[bunyan](https://github.com/trentm/node-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.
## Install
```sh
npm install bunyan-serverchan --save
```
## Usage
```javascript
var ServerChan = require('bunyan-serverchan');
bunyan.createLogger({
name: 'app',
streams:[{
level: 'error',
stream: new ServerChan({key:MY_SERVER_CHAN_KEY})
}]
});
```
## History
### v0.1.0 2016-01-18
- First release.