This package lets you connect your nodeJS applications to Coralogix's log analytics platform.
Coralogix Winston Transport
For more information on how to setup and use winston head over to the winston repository.
Installation
npm install coralogix-winston --save
Usage
var winston = ;var CoralogixWinston = ;var hostname = hostname; var winstonLogger = new winstonLogger transports: new CoralogixWinston privateKey: '00000000-0000-0000-0000-000000000000' // your private key you received when signing up applicationName: 'ACME Website' subsystemName: 'WebAPI' computerName: hostname // optional level: 'debug' // winston log level ; // use winston regularlywinstonLogger;// send Coralogix optional data for better learning and querying.// these reserved word parameters will not be part of the message text.winstonLogger;