@mastra/core 0.1.27-alpha.73 → 0.1.27-alpha.75

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/core.esm.js CHANGED
@@ -3701,6 +3701,18 @@ var Mastra = /*#__PURE__*/function () {
3701
3701
  var _this2 = this;
3702
3702
  var logger = _ref7.logger;
3703
3703
  this.logger = logger;
3704
+ if (this.agents) {
3705
+ Object.keys(this.agents).forEach(function (key) {
3706
+ var _this2$agents;
3707
+ (_this2$agents = _this2.agents) == null || (_this2$agents = _this2$agents[key]) == null || _this2$agents.__setLogger(_this2.logger);
3708
+ });
3709
+ }
3710
+ if (this.workflows) {
3711
+ Object.keys(this.workflows).forEach(function (key) {
3712
+ var _this2$workflows;
3713
+ (_this2$workflows = _this2.workflows) == null || (_this2$workflows = _this2$workflows[key]) == null || _this2$workflows.__setLogger(_this2.logger);
3714
+ });
3715
+ }
3704
3716
  if (this.memory) {
3705
3717
  this.memory.__setLogger(this.logger);
3706
3718
  }