UNPKG

winston-to-newrelic-logs

Version:

A transport for winston to send to New Relic Log Product

20 lines (15 loc) 448 B
function Newrelic() { this.transactionName = 'default'; } Newrelic.prototype.getBrowserTimingHeader = function() { return 'this would be the client JS script'; }; Newrelic.prototype.setTransactionName = function(transactionName) { this.transactionName = transactionName; }; Newrelic.prototype.noticeError = function() { }; module.exports = (function() { console.log('creating new nerelic stub instance'); return new Newrelic(); }());