Namely, Pickled Meatballs

    This package has been deprecated

    Author message:

    WARNING: This project is not maintained by Coralogix, to use the official Coralogix package, install using coralogix-logger

    coralogix

    1.1.19 • Public • Published

    This package lets you connect your nodeJS applications to Coralogix's log analytics platform.

    Alternative Log Sending Methods

    Coralogix also has Winston and Bunyan connectors. Follow the links and read the simple implementation instructions.

    Installation

    npm install coralogix --save

    Send Logs to Coralogix

    Import Coralogix's package and send logs in a stateless fashion.
    Note that the privateKey, severity, applicationName, subsystemName and text properties are mandatory.

    var coralogix = require('coralogix');
     
    var res = coralogix.sendLog({
      privateKey: '00000000-0000-0000-0000-000000000000', // your private key you received when signing up
      severity: 1, // 1 - debug, 2 - verbose, 3 - info, 4 - warning, 5 - error, 6 - critical
      applicationName: 'ACME Website',
      subsystemName: 'WebAPI',
      computerName: 'WebServer001', // optional
      text: 'User has signed in',
      className: 'UserManager', // optional
      methodName: 'HandleSignin', // optional
      category: 'Security', // optional
      IPAddress: '1.1.1.1', // optional
      threadId: '123-a' // optional
    });

    Keywords

    none

    Install

    npm i coralogix

    DownloadsWeekly Downloads

    342

    Version

    1.1.19

    License

    ISC

    Last publish

    Collaborators

    • yairhaimo