@betomorrow/logging-core
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package