@evalops/maestro 0.10.15 → 0.10.17

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.
@@ -20884,14 +20884,12 @@ var Logger = class {
20884
20884
  * Output as JSON (for log aggregation systems)
20885
20885
  */
20886
20886
  outputJson(entry) {
20887
- const output = entry.level === "error" ? console.error : console.log;
20888
- output(JSON.stringify(entry));
20887
+ console.error(JSON.stringify(entry));
20889
20888
  }
20890
20889
  /**
20891
20890
  * Output as human-readable format
20892
20891
  */
20893
20892
  outputPretty(entry) {
20894
- const output = entry.level === "error" ? console.error : console.log;
20895
20893
  const parts = [];
20896
20894
  if (this.config.timestamps) {
20897
20895
  parts.push(`[${entry.timestamp}]`);
@@ -20901,9 +20899,9 @@ var Logger = class {
20901
20899
  if (entry.context && Object.keys(entry.context).length > 0) {
20902
20900
  parts.push(JSON.stringify(entry.context));
20903
20901
  }
20904
- output(parts.join(" "));
20902
+ console.error(parts.join(" "));
20905
20903
  if (entry.error?.stack) {
20906
- output(entry.error.stack);
20904
+ console.error(entry.error.stack);
20907
20905
  }
20908
20906
  }
20909
20907
  /**
@@ -36757,14 +36757,12 @@ var Logger = class {
36757
36757
  * Output as JSON (for log aggregation systems)
36758
36758
  */
36759
36759
  outputJson(entry) {
36760
- const output = entry.level === "error" ? console.error : console.log;
36761
- output(JSON.stringify(entry));
36760
+ console.error(JSON.stringify(entry));
36762
36761
  }
36763
36762
  /**
36764
36763
  * Output as human-readable format
36765
36764
  */
36766
36765
  outputPretty(entry) {
36767
- const output = entry.level === "error" ? console.error : console.log;
36768
36766
  const parts = [];
36769
36767
  if (this.config.timestamps) {
36770
36768
  parts.push(`[${entry.timestamp}]`);
@@ -36774,9 +36772,9 @@ var Logger = class {
36774
36772
  if (entry.context && Object.keys(entry.context).length > 0) {
36775
36773
  parts.push(JSON.stringify(entry.context));
36776
36774
  }
36777
- output(parts.join(" "));
36775
+ console.error(parts.join(" "));
36778
36776
  if (entry.error?.stack) {
36779
- output(entry.error.stack);
36777
+ console.error(entry.error.stack);
36780
36778
  }
36781
36779
  }
36782
36780
  /**
@@ -18392,14 +18392,12 @@ var Logger = class {
18392
18392
  * Output as JSON (for log aggregation systems)
18393
18393
  */
18394
18394
  outputJson(entry) {
18395
- const output = entry.level === "error" ? console.error : console.log;
18396
- output(JSON.stringify(entry));
18395
+ console.error(JSON.stringify(entry));
18397
18396
  }
18398
18397
  /**
18399
18398
  * Output as human-readable format
18400
18399
  */
18401
18400
  outputPretty(entry) {
18402
- const output = entry.level === "error" ? console.error : console.log;
18403
18401
  const parts = [];
18404
18402
  if (this.config.timestamps) {
18405
18403
  parts.push(`[${entry.timestamp}]`);
@@ -18409,9 +18407,9 @@ var Logger = class {
18409
18407
  if (entry.context && Object.keys(entry.context).length > 0) {
18410
18408
  parts.push(JSON.stringify(entry.context));
18411
18409
  }
18412
- output(parts.join(" "));
18410
+ console.error(parts.join(" "));
18413
18411
  if (entry.error?.stack) {
18414
- output(entry.error.stack);
18412
+ console.error(entry.error.stack);
18415
18413
  }
18416
18414
  }
18417
18415
  /**