Socket
Socket
Sign inDemoInstall

@betomorrow/logging-core

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betomorrow/logging-core - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

lib/commonjs/loggers/defaultLogger.js

@@ -40,3 +40,3 @@ "use strict";

isDebugEnabled() {
return this.manager.getLevel() <= _types.LogLevel.DEBUG;
return this.manager.getLevel() >= _types.LogLevel.DEBUG;
}

@@ -43,0 +43,0 @@

@@ -32,3 +32,3 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

isDebugEnabled() {
return this.manager.getLevel() <= LogLevel.DEBUG;
return this.manager.getLevel() >= LogLevel.DEBUG;
}

@@ -35,0 +35,0 @@

{
"name": "@betomorrow/logging-core",
"version": "1.0.2",
"version": "1.0.3",
"description": "Logging tools",

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

@@ -31,3 +31,3 @@ import { LoggerManager, Logger, LogLevel } from "../types";

isDebugEnabled(): boolean {
return this.manager.getLevel() <= LogLevel.DEBUG;
return this.manager.getLevel() >= LogLevel.DEBUG;
}

@@ -34,0 +34,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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