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

logg

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logg - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

9

lib/logg.js

@@ -46,3 +46,5 @@ /**

if (!LOGGERS[ns]) {
LOGGERS[ns] = new Logger(ns);
// If the singleton root logger was created by a different version of the
// package use its constructor instead of the instance from this package.
LOGGERS[ns] = new rootLogger.constructor(ns);
LOGGERS[ns].setParent(getLogger(getParentNs(ns)));

@@ -102,3 +104,3 @@ LOGGERS_AR.push(LOGGERS[ns]);

if (!isRoot) {
throw new Error('This instance is not the main one. Another package uses a' +
console.warn('This instance is not the main one. Another package uses a' +
' different version of "node-logg" and holds the actual reference to' +

@@ -121,5 +123,6 @@ ' the console watcher');

if (!isRoot) {
throw new Error('This instance is not the main one. Another package uses a' +
console.warn('This instance is not the main one. Another package uses a' +
' different version of "node-logg" and holds the actual reference to' +
' the console watcher');
return;
}

@@ -126,0 +129,0 @@ if (isConsoleRegistered) {

{
"name" : "logg",
"version" : "0.2.2",
"version" : "0.3.0",
"description" : "Logging library that allows for hierarchical loggers, multiple log levels, and flexible watching of log records.",

@@ -5,0 +5,0 @@ "keywords" : ["log", "logging", "logger", "hierarchical", "handler", "watcher"],

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