namshi/node-nmlogger

Name: node-nmlogger

Owner: Namshi

Description: null

Created: 2015-08-03 08:22:38.0

Updated: 2015-08-04 13:43:47.0

Pushed: 2015-08-09 07:22:59.0

Homepage: null

Size: 131

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

nmLogger

Handy and strongly opinionated logging helper. It conveniently writes your logs in your shell and graylog facility as well as reporting errors to newrelic.

Options Params:

Options parameters:

Installation

Install this library via NPM:

install node-nmlogger
Usage
logger = require('node-nmlogger')();

r

logger = require('node-nmlogger')({ /* options */ });
Works best with

We suggest to use nmconfig for your config needs with this module.

If you need it on the client side we highly recommend browserify.

Tests

This library is a little convenience wrapper on top of extensively tested projects, so for once we can be a little bit lazy and skip them ;)
We do like tests tho, so if you feel giving us a hand we'll be more than happy to see some PR love on this side :D


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.