2 instantiations of ListStructuredLogsTool
aspire (1)
Commands\AgentMcpCommand.cs (1)
71
[KnownMcpTools.ListStructuredLogs] = new
ListStructuredLogsTool
(auxiliaryBackchannelMonitor, httpClientFactory, loggerFactory.CreateLogger<ListStructuredLogsTool>()),
Aspire.Cli.Tests (1)
Mcp\ListStructuredLogsToolTests.cs (1)
401
return new
ListStructuredLogsTool
(
13 references to ListStructuredLogsTool
aspire (2)
Commands\AgentMcpCommand.cs (1)
71
[KnownMcpTools.ListStructuredLogs] = new ListStructuredLogsTool(auxiliaryBackchannelMonitor, httpClientFactory, loggerFactory.CreateLogger<
ListStructuredLogsTool
>()),
Mcp\Tools\ListStructuredLogsTool.cs (1)
22
internal sealed class ListStructuredLogsTool(IAuxiliaryBackchannelMonitor auxiliaryBackchannelMonitor, IHttpClientFactory httpClientFactory, ILogger<
ListStructuredLogsTool
> logger) : CliMcpTool
Aspire.Cli.Tests (11)
Mcp\ListStructuredLogsToolTests.cs (11)
27
var
tool = CreateTool();
45
var
tool = CreateTool(monitor);
174
var
tool = CreateTool(monitor, mockHttpClientFactory);
276
var
tool = CreateTool(monitor, mockHttpClientFactory);
331
var
tool = CreateTool(monitor, mockHttpClientFactory);
351
var
tool = CreateTool();
359
var
tool = CreateTool();
367
var
tool = CreateTool();
381
var
tool = CreateTool();
397
private static
ListStructuredLogsTool
CreateTool(
404
NullLogger<
ListStructuredLogsTool
>.Instance);