Skip to content

Repository files navigation

NTS Logger

Codeship Status for ntslive/node-logger

Logger used by NTS in their Node.js applications. Captures errors with Raven.

Installation

Include as dependency in package.json:

"node-logger": "ntslive/node-logger#0.0.2",

Note that this requires the Git tag 0.0.2 to be present.

Then run npm install as usual.

Usage

const logger = require('node-logger');
logger.error(errorMessage, errorInstance, { dataContext: dataObject });

Testing

Run npm test

To run eslint with fix flag, run bin/eslint

About

Logger used by NTS in their Node applications, captures errors with Raven

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages