Skip to content

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

Notifications You must be signed in to change notification settings

ntslive/node-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Packages

No packages published