1 write to _logger
aspire (1)
Commands\AgentMcpCommand.cs (1)
68_logger = logger;
11 references to _logger
aspire (11)
Commands\AgentMcpCommand.cs (11)
99_logger.LogError("Invalid --dashboard-url: {DashboardUrl}", dashboardUrl); 112var dashboardInfoProvider = new BackchannelDashboardInfoProvider(_auxiliaryBackchannelMonitor, _logger); 166_logger.LogDebug("MCP ListTools request received"); 182_logger.LogDebug("Dashboard-only mode: skipping resource tool discovery"); 208_logger.LogDebug(ex, "Failed to aggregate resource MCP tools"); 211_logger.LogDebug("Returning {ToolCount} tools", tools.Count); 220_logger.LogDebug("MCP CallTool request received for tool: {ToolName}", toolName); 274if (_logger.IsEnabled(LogLevel.Debug)) 276_logger.LogDebug("Invoking tool {Name} with arguments {Arguments}", toolName, JsonSerializer.Serialize(args, BackchannelJsonSerializerContext.Default.DictionaryStringJsonElement)); 289_logger.LogWarning("Unknown tool requested: {ToolName}", toolName); 306return AppHostConnectionHelper.GetSelectedConnectionAsync(_auxiliaryBackchannelMonitor, _logger, cancellationToken);