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.1.8 to 1.2.0

10

index.js

@@ -76,3 +76,8 @@ var fs = require('fs');

module.exports = function (config) {
module.exports = function (name, config) {
if (typeof name != 'string') {
config = name;
name = moduleName(module);
}
config = config || defaultConfig;

@@ -96,4 +101,3 @@ if (!Array.isArray(config)) config = []; // Handle {} as no output

var tag = moduleName(module);
return log.createSublogger(tag);
return log.createSublogger(name);
};
{
"name": "logginator",
"version": "1.1.8",
"version": "1.2.0",
"description": "Creates an instance of TaggedLogger",

@@ -5,0 +5,0 @@ "main": "index.js",

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