1 write to LogLevel
Aspire.Dashboard.Tests (1)
tests\Shared\Logging\TestLogger.cs (1)
47LogLevel = logLevel,
15 references to LogLevel
Aspire.Dashboard.Tests (15)
Integration\FrontendBrowserTokenAuthTests.cs (3)
170var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 207Assert.Equal(LogLevel.Warning, w.LogLevel); 212Assert.Equal(LogLevel.Warning, w.LogLevel);
Integration\StartupTests.cs (9)
470if (w.LogLevel != LogLevel.Warning) 684var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 721Assert.Equal(LogLevel.Warning, w.LogLevel); 726Assert.Equal(LogLevel.Warning, w.LogLevel); 747var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 766Assert.Equal(LogLevel.Warning, w.LogLevel); 820var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 859Assert.Equal(LogLevel.Warning, w.LogLevel); 864Assert.Equal(LogLevel.Warning, w.LogLevel);
Model\IconResolverTests.cs (1)
61Assert.Equal(LogLevel.Warning, write.LogLevel);
Telemetry\DashboardTelemetryServiceTests.cs (1)
158Assert.False(testSink.Writes.Any(w => w.LogLevel >= LogLevel.Warning), "Test ran without any warnings or errors logged.");
tests\Shared\Logging\WriteContext.cs (1)
32return $"{LogLevel} {LoggerName}: {Message}";