node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

winston-newrelic

winston-newrelic Build Status

New Relic trasporter for winston. Logs winston caught exceptions and logs to New Relic.

Installation

npm install winston-newrelic

Usage

// Top of your boot file 
require('newrelic');
 
var winston = require('winston'),
    WinstonNewrelic = require('winston-newrelic');
 
// Add newrelic logger as trasporter 
winston.add(winston.transports.newrelic, {});