0.1.1 • Published 10 years ago

exception-logger v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

Exception Logger

Interface your logs with Loggly using this logging module.

Install

npm install exception-logger --save
npm install linchpin --save

Usage

index.js

var loggr = require('exception-logger');
loggr({ token: 'YOUR-Loggly-Token'});

Any module that wants to report to the logger justs requires linchpin and emits events.

anymodule.js

var pin = require('linchpin');

app.do(function(err, value) {
  if (err) { return pin.emit('ERROR', err); }
});

Test

npm test

Issues

see Github Issues.

0.1.1

10 years ago

0.1.0

10 years ago