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

logginator

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logginator - npm Package Compare versions

Comparing version 1.2.2 to 1.3.1

13

index.js

@@ -5,2 +5,3 @@ var fs = require('fs');

var winstonSyslog = require('winston-syslog').Syslog;
var winstonPapertrail = require('winston-papertrail').Papertrail;
var TaggedConsoleTarget = require('tagged-console-target');

@@ -73,2 +74,14 @@ var TaggedLogger = require('tagged-logger');

return new winstonSyslog(options);
},
"papertrail": function(spec) {
if (!spec.host || !spec.port) throw new Error("Host and port are required" +
"for papertrail log target");
return new winstonPapertrail({
program: spec.program || process.title,
host: spec.host,
port: spec.port,
colorize: true
});
}

@@ -75,0 +88,0 @@ };

5

package.json
{
"name": "logginator",
"version": "1.2.2",
"version": "1.3.1",
"description": "Creates an instance of TaggedLogger",
"main": "index.js",
"dependencies": {
"winston": "*",
"tagged-console-target": "~1.0.4",
"tagged-logger": "~1.0.0",
"unix-dgram": "git://github.com/brikteknologier/node-unix-dgram.git",
"winston": "^0.9.0",
"winston-papertrail": "^1.0.1",
"winston-syslog": "git://github.com/brikteknologier/winston-syslog.git"

@@ -12,0 +13,0 @@ },

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