Mastra.getLogger()
The .getLogger() method is used to retrieve the logger instance that has been configured in the Mastra instance.
Usage exampleUsage example的直接链接
mastra.getLogger()
ParametersParameters的直接链接
This method doesn't accept any parameters.
ReturnsReturns的直接链接
logger:
TLogger
The configured logger instance used for logging across all components (agents, workflows, etc.).