nerdylocks / winston-raygun Goto Github PK
View Code? Open in Web Editor NEWA Raygun transport for winston.
License: MIT License
A Raygun transport for winston.
License: MIT License
When using Raygun the transport:
logger.error('Ting Raygun', {errorType:'Error', message: 'Test this error'}, 'Error', new Error('another'), 'string', false, 9);
I get the following error:
_http_outgoing.js:333
throw new Error('"name" and "value" are required for setHeader().');
^
Error: "name" and "value" are required for setHeader().
at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:333:11)
at new ClientRequest (_http_client.js:101:14)
at Object.exports.request (http.js:49:10)
at Object.exports.request (https.js:136:15)
at Object.send (/Users/goliatone/myProject/eventstream/node_modules/winston-raygun/node_modules/raygun/lib/raygun.transport.js:26:22)
at raygun.send (/Users/goliatone/myProject/eventstream/node_modules/winston-raygun/node_modules/raygun/lib/raygun.js:52:21)
at Raygun.log (/Users/goliatone/myProject/eventstream/node_modules/winston-raygun/lib/winston_raygun.js:36:30)
at emit (/Users/goliatone/myProject/eventstream/node_modules/winston/lib/winston/logger.js:186:17)
at /Users/goliatone/myProject/eventstream/node_modules/winston/node_modules/async/lib/async.js:122:13
at _each (/Users/goliatone/myProject/eventstream/node_modules/winston/node_modules/async/lib/async.js:46:13)
I pretty much copied and pasted some of the test code you have.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.