MastraBase uses a hardcoded ConsoleLogger instead of the configured logger(s)
In the file:
packages/core/src/base.ts
, I see a hard-coded use of this.logger = new ConsoleLogger(...)
. Is this intended? This has as an effect that uncaught errors are not sent to my PinoLogger that I configured.
My question is: is this intentional? Am I supposed to also have a Sentry/AppSignal wrapper in my node environment for the error monitoring separately?1 Reply
📝 Created GitHub issue: https://github.com/mastra-ai/mastra/issues/9121
GitHub
[DISCORD:1430460120256479274] MastraBase uses a hardcoded ConsoleLo...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1430460120256479274 In the file: packages/core/src/base.ts, I see a hard-coded use of this.logger = new Co...