@websolutespa/bom-core 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-core
2
2
 
3
+ ## 1.7.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: Logger
8
+
3
9
  ## 1.7.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -899,10 +899,10 @@ var Logger = class {
899
899
  this.level_ = level;
900
900
  }
901
901
  static getLevel() {
902
- if (isProduction) {
903
- return 1 /* ERROR */;
904
- } else {
902
+ if (isDevelopment) {
905
903
  return this.level_;
904
+ } else {
905
+ return 1 /* ERROR */;
906
906
  }
907
907
  }
908
908
  static error(...args) {
package/dist/index.mjs CHANGED
@@ -776,10 +776,10 @@ var Logger = class {
776
776
  this.level_ = level;
777
777
  }
778
778
  static getLevel() {
779
- if (isProduction) {
780
- return 1 /* ERROR */;
781
- } else {
779
+ if (isDevelopment) {
782
780
  return this.level_;
781
+ } else {
782
+ return 1 /* ERROR */;
783
783
  }
784
784
  }
785
785
  static error(...args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-core",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Core module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",