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)
402
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)
28
var
tool = CreateTool();
46
var
tool = CreateTool(monitor);
175
var
tool = CreateTool(monitor, mockHttpClientFactory);
277
var
tool = CreateTool(monitor, mockHttpClientFactory);
332
var
tool = CreateTool(monitor, mockHttpClientFactory);
352
var
tool = CreateTool();
360
var
tool = CreateTool();
368
var
tool = CreateTool();
382
var
tool = CreateTool();
398
private static
ListStructuredLogsTool
CreateTool(
405
NullLogger<
ListStructuredLogsTool
>.Instance);