1.1.1 • Published 7 years ago
winston-pusher v1.1.1
winston-pusher
A Pusher transport for winston logging library.
Installation
npm install winston
npm install winston-pusher
Usage
var winston = require('winston');
var PusherLogger = require('winston-pusher');
var log = new (winston.Logger)({
transports: [
new (PusherLoger)({
level: 'info',
pusher: {
"appId": "your-app-id",
"key": "your-app-key",
"secret": "your-app-secret",
"cluster": "eu",
"encrypted": true
}
})
]
});
License
Distributed under the MIT license.