node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

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