Skip to content

infinitedg/meteor-winston-loggly

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor-Winston-Loggly

A wrapper around winston-loggly for using Loggly transport with winston for use with Meteorite ontop of Meteor :)

##Install mrt add winston-loggly

##Usage

Winston is exposed as:

Winston

And loggly transport is exposed as:

Winston_Loggly

so it can be used as follows:

var options = {
  "level": "info",
  "subdomain": "<loggly subdomain>",
  "auth": {
    "username": "<loggly username>",
    "password": "<loggly password>"
  },
  "inputToken":"<loggly input token>",
  "json": true,
  "handleExceptions": true
};

Winston.add(Winston_Loggly, options);
Winston.info('Added winston loggly transport');

See winston-loggly documentation for more details.

Other related projects:

About

Meteor wrapper for winston-loggly

Resources

Stars

Watchers

Forks

Packages

No packages published