1 write to _logger
aspire (1)
Commands\AgentMcpCommand.cs (1)
76_logger = logger;
12 references to _logger
aspire (12)
Commands\AgentMcpCommand.cs (12)
172_logger.LogError( 184var staticProvider = new StaticDashboardInfoProvider(dashboardUrl, apiKey, _httpClientFactory, _logger); 192var dashboardInfoProvider = new BackchannelDashboardInfoProvider(_auxiliaryBackchannelMonitor, _logger); 255_logger.LogDebug("MCP ListTools request received"); 273_logger.LogDebug("Dashboard-only mode: skipping resource tool discovery"); 299_logger.LogDebug(ex, "Failed to aggregate resource MCP tools"); 302_logger.LogDebug("Returning {ToolCount} tools", tools.Count); 311_logger.LogDebug("MCP CallTool request received for tool: {ToolName}", toolName); 373if (_logger.IsEnabled(LogLevel.Debug)) 375_logger.LogDebug("Invoking tool {Name} with arguments {Arguments}", toolName, JsonSerializer.Serialize(args, BackchannelJsonSerializerContext.Default.DictionaryStringJsonElement)); 388_logger.LogWarning("Unknown tool requested: {ToolName}", toolName); 405return AppHostConnectionHelper.GetSelectedConnectionAsync(_auxiliaryBackchannelMonitor, _logger, cancellationToken);