@nsshunt/stsutils 1.16.40 → 1.16.42

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/stsutils.mjs CHANGED
@@ -3438,6 +3438,9 @@ class STSWinstonTransport extends Transport {
3438
3438
  __privateSet(this, _debug, debugModule(`proc:${process.pid}:${this.myopts.stsContext}`));
3439
3439
  }
3440
3440
  __privateGet(this, _debug).call(this, info.message);
3441
+ if (this.myopts.debugger) {
3442
+ this.myopts.debugger(info.message);
3443
+ }
3441
3444
  }
3442
3445
  this.emit("logged", info);
3443
3446
  callback();