node package manager

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, {});