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);