2 implementations of ClearStructuredLogsAsync
Aspire.Dashboard (1)
Otlp\Storage\SqliteTelemetryRepository.cs (1)
256
public async Task
ClearStructuredLogsAsync
(ResourceKey? resourceKey = null)
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\InMemoryTelemetryRepository.cs (1)
1636
public Task
ClearStructuredLogsAsync
(ResourceKey? resourceKey = null)
4 references to ClearStructuredLogsAsync
Aspire.Dashboard (1)
Components\Pages\StructuredLogs.razor.cs (1)
577
return TelemetryRepositoryWriter.
ClearStructuredLogsAsync
(key);
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\LogTests.cs (3)
1402
await repositoryContext.Repository.AsWriter().
ClearStructuredLogsAsync
();
1467
await repositoryContext.Repository.AsWriter().
ClearStructuredLogsAsync
(new ResourceKey("resource1", "123"));
1541
await repositoryContext.Repository.AsWriter().
ClearStructuredLogsAsync
(new ResourceKey("resource1", null));