1 write to _logger
aspire (1)
Commands\McpStartCommand.cs (1)
36
_logger
= logger;
16 references to _logger
aspire (16)
Commands\McpStartCommand.cs (16)
85
_logger
.LogDebug("MCP ListTools request received");
94
_logger
.LogDebug("Returning {ToolCount} tools: {ToolNames}", tools.Length, string.Join(", ", tools.Select(t => t.Name)));
106
_logger
.LogDebug("MCP CallTool request received for tool: {ToolName}", toolName);
120
_logger
.LogWarning("No Aspire AppHost is currently running");
130
_logger
.LogWarning("Dashboard is not available in the running AppHost");
138
_logger
.LogInformation(
166
_logger
.LogDebug("Calling tool {ToolName} on dashboard MCP server", toolName);
171
_logger
.LogDebug("Invoking CallToolAsync for tool {ToolName} with arguments: {Arguments}", toolName, request.Params?.Arguments);
173
_logger
.LogDebug("CallToolAsync for tool {ToolName} completed successfully", toolName);
175
_logger
.LogDebug("Tool {ToolName} completed successfully", toolName);
181
_logger
.LogError(ex, "Error occurred while calling tool {ToolName}", toolName);
186
_logger
.LogWarning("Unknown tool requested: {ToolName}", toolName);
217
_logger
.LogDebug("Using explicitly selected AppHost: {AppHostPath}", selectedPath);
221
_logger
.LogWarning("Selected AppHost at '{SelectedPath}' is no longer running, falling back to selection logic", selectedPath);
231
_logger
.LogDebug("Using single in-scope AppHost: {AppHostPath}", inScopeConnections[0].AppHostInfo?.AppHostPath ?? "N/A");
251
_logger
.LogDebug("No in-scope AppHosts found in scope: {WorkingDirectory}", _executionContext.WorkingDirectory);