1 write to LogLevel
Aspire.Dashboard.Tests (1)
tests\Shared\Logging\TestLogger.cs (1)
47LogLevel = logLevel,
21 references to LogLevel
Aspire.Dashboard.Tests (21)
Integration\FrontendBrowserTokenAuthTests.cs (4)
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); 217Assert.Equal(LogLevel.Warning, w.LogLevel);
Integration\StartupTests.cs (14)
471if (w.LogLevel != LogLevel.Warning) 685var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 722Assert.Equal(LogLevel.Warning, w.LogLevel); 727Assert.Equal(LogLevel.Warning, w.LogLevel); 732Assert.Equal(LogLevel.Warning, w.LogLevel); 753var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 772Assert.Equal(LogLevel.Warning, w.LogLevel); 777Assert.Equal(LogLevel.Warning, w.LogLevel); 797var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Warning).ToList(); 837.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Warning) 900var l = testSink.Writes.Where(w => w.LoggerName == typeof(DashboardWebApplication).FullName && w.LogLevel >= LogLevel.Information).ToList(); 939Assert.Equal(LogLevel.Warning, w.LogLevel); 944Assert.Equal(LogLevel.Warning, w.LogLevel); 949Assert.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}";