Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logzio-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logzio-nodejs - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

lib/logzio-nodejs.js

@@ -14,3 +14,3 @@

this.host = 'listener-http.logz.io';
this.port = 5050;
this.port = 8090;
this.userAgent = 'Logzio-Logger NodeJS';

@@ -17,0 +17,0 @@ this.type = 'nodejs';

{
"name": "logzio-nodejs",
"description": "A nodejs implementation for sending logs to Logz.IO cloud service",
"version": "0.1.0",
"version": "0.1.1",
"author": "Gilly Barr <gilly@logz.io>",

@@ -6,0 +6,0 @@ "repository": {

# logzio-nodejs
NodeJS logger for LogzIO
Sample usage :
```javascript
var logger = require('logzio-nodejs').createLogger({
token: '__YOUR_API_TOKEN__',
type: 'YourLogType' // OPTIONAL (If none is set, it will be 'nodejs')
});
// sending text
logger.log('This is a log message');
// sending an object
var obj = {
message: 'Some log message',
param1: 'val1',
param2: 'val2'
};
logger.log(obj);
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc