Logger used by NTS in their Node.js applications. Captures errors with Raven.
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.
const logger = require('node-logger');
logger.error(errorMessage, errorInstance, { dataContext: dataObject });
Run npm test
To run eslint with fix
flag, run bin/eslint