Skip to content
This repository has been archived by the owner on Jul 12, 2021. It is now read-only.

meletisf/winston-pusher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-pusher

A Pusher transport for winston logging library.

npm version npm Maintenance

NPM

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.

About

A Pusher Transport for Winston

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published