unlucio / winston-newrelic

Reports winston log errors to new-relic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Reports winston log errors to new-relic

License:MIT License


Languages

Language:JavaScript 100.0%