@itwin/core-i18n 3.5.0-dev.41 → 3.5.0-dev.43

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.
@@ -19306,13 +19306,17 @@ class Logger {
19306
19306
  }
19307
19307
  /** Set the least severe level at which messages should be displayed by default. Call setLevel to override this default setting for specific categories. */
19308
19308
  static setLevelDefault(minLevel) {
19309
- Logger._minLevel = minLevel;
19309
+ var _a;
19310
+ this._minLevel = minLevel;
19311
+ (_a = this.logLevelChangedFn) === null || _a === void 0 ? void 0 : _a.call(this);
19310
19312
  }
19311
19313
  /** Set the minimum logging level for the specified category. The minimum level is least severe level at which messages in the
19312
19314
  * specified category should be displayed.
19313
19315
  */
19314
19316
  static setLevel(category, minLevel) {
19317
+ var _a;
19315
19318
  Logger._categoryFilter.set(category, minLevel);
19319
+ (_a = this.logLevelChangedFn) === null || _a === void 0 ? void 0 : _a.call(this);
19316
19320
  }
19317
19321
  /** Interpret a string as the name of a LogLevel */
19318
19322
  static parseLogLevel(str) {
@@ -19448,8 +19452,8 @@ class Logger {
19448
19452
  Logger._logTrace(category, message, metaData);
19449
19453
  }
19450
19454
  }
19451
- Logger._categoryFilter = new Map();
19452
- Logger._minLevel = undefined;
19455
+ Logger._categoryFilter = new Map(); // do not change the name of this member, it is referenced directly from node addon
19456
+ Logger._minLevel = undefined; // do not change the name of this member, it is referenced directly from node addon
19453
19457
  /** Should the call stack be included when an exception is logged? */
19454
19458
  Logger.logExceptionCallstacks = false;
19455
19459
  /** All static metadata is combined with per-call metadata and stringified in every log message.