1 write to LogLevel
Aspire.Hosting.TestUtilities (1)
tests\Shared\Logging\TestLogger.cs (1)
47LogLevel = logLevel,
22 references to LogLevel
Aspire.Hosting.Blazor.Tests (4)
BlazorHostedExtensionsTests.cs (4)
434msg.LogLevel == LogLevel.Warning && 453msg.LogLevel == LogLevel.Warning && 472msg.LogLevel == LogLevel.Warning && 493msg.LogLevel == LogLevel.Warning &&
Aspire.Hosting.Kubernetes.Tests (3)
CertManagerTests.cs (1)
232var warning = Assert.Single(testSink.Writes, w => w.LogLevel == LogLevel.Warning);
KubernetesGatewayTests.cs (1)
387w => w.LogLevel == LogLevel.Warning && w.Message is not null && w.Message.Contains("empty", StringComparison.Ordinal));
KubernetesIngressTests.cs (1)
424w => w.LogLevel == LogLevel.Warning && w.Message is not null && w.Message.Contains("empty", StringComparison.Ordinal));
Aspire.Hosting.Tests (14)
Dashboard\DashboardEventHandlersTests.cs (2)
71Assert.Equal(expectedLevel, logContext.LogLevel); 154Assert.Equal(logLevel, matchingLog.LogLevel);
Dcp\DcpExecutorTests.cs (1)
1289Assert.Contains(testSink.Writes, w => w.LogLevel == LogLevel.Warning
Dcp\DcpHostNotificationTests.cs (7)
162Assert.Contains(testSink.Writes, w => w.LogLevel == LogLevel.Warning && w.Message is not null && w.Message.Contains("aka.ms/aspire/devcerts", StringComparison.Ordinal)); 798Assert.DoesNotContain(testSink.Writes, w => w.LogLevel == LogLevel.Warning); 848Assert.DoesNotContain(testSink.Writes, w => w.LogLevel == LogLevel.Warning); 899Assert.Contains(testSink.Writes, w => w.LogLevel == LogLevel.Warning); 959Assert.DoesNotContain(testSink.Writes, w => w.LogLevel == LogLevel.Warning); 1017Assert.DoesNotContain(testSink.Writes, w => w.LogLevel == LogLevel.Warning); 1073Assert.Contains(testSink.Writes, w => w.LogLevel == LogLevel.Warning);
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
289w.LogLevel == LogLevel.Warning &&
PersistentContainerWarningTests.cs (3)
38Assert.Contains(testSink.Writes, w => w.LogLevel == LogLevel.Warning && w.Message?.Contains("my-container") == true); 62Assert.DoesNotContain(testSink.Writes, w => w.LogLevel == LogLevel.Warning); 84Assert.DoesNotContain(testSink.Writes, w => w.LogLevel == LogLevel.Warning);
Aspire.Hosting.TestUtilities (1)
tests\Shared\Logging\WriteContext.cs (1)
32return $"{LogLevel} {LoggerName}: {Message}";