@putkoff/abstract-logger 0.0.63 → 0.0.68

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/dist/cjs/index.js CHANGED
@@ -15098,18 +15098,18 @@ function setLogs(mode = null, interval = false, window_ms = null) {
15098
15098
  ];
15099
15099
  if (window_ms != false) {
15100
15100
  if (window_ms === true || window_ms == null) {
15101
- window_ms = 30000;
15101
+ window_ms = 30_000;
15102
15102
  }
15103
15103
  }
15104
15104
  if (interval != true) {
15105
- mode = mode || 3;
15105
+ mode = mode ?? 3;
15106
15106
  setLogMode(modes[mode]);
15107
15107
  resetLogStats();
15108
15108
  }
15109
15109
  else {
15110
15110
  let i = 0;
15111
15111
  setInterval(() => {
15112
- window_ms || (window_ms = 30000);
15112
+ window_ms ||= 30_000;
15113
15113
  recordBenchSnapshot(window_ms);
15114
15114
  resetLogStats();
15115
15115
  setLogMode(modes[++i % modes.length]);