qcobjects 2.6.2 → 2.6.3

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.
@@ -299,6 +299,7 @@ var init_Logger = __esm({
299
299
  debugEnabled = true;
300
300
  infoEnabled = true;
301
301
  warnEnabled = true;
302
+ errorEnabled = true;
302
303
  debug(message) {
303
304
  if (this.debugEnabled) {
304
305
  console.log("\x1B[35m%s\x1B[0m", `[DEBUG][${performance.now().toLocaleString()}] ${message}`);
@@ -320,6 +321,11 @@ var init_Logger = __esm({
320
321
  console.warn("\x1B[31m%s\x1B[0m", `[WARN][${performance.now().toLocaleString()}] ${message}`);
321
322
  }
322
323
  }
324
+ error(message) {
325
+ if (this.errorEnabled) {
326
+ console.error("\x1B[31m%s\x1B[0m", `[ERROR][${performance.now().toLocaleString()}] ${message}`);
327
+ }
328
+ }
323
329
  };
324
330
  logger = new Logger();
325
331
  Export(logger);