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:
- [meteor-winston] (https://github.com/tomrogers3/meteor-winston)
- [meteor-winston-airbrake] (https://github.com/tomrogers3/meteor-winston-airbrake)