109 references to Critical
Aspire.Dashboard (5)
Aspire.Hosting.Tests (3)
Aspire.RabbitMQ.Client (1)
InMemory.FunctionalTests (3)
Interop.FunctionalTests (2)
Microsoft.Arcade.Common (2)
Microsoft.AspNetCore.Components.WebAssembly (3)
Microsoft.AspNetCore.Hosting (1)
Microsoft.AspNetCore.Server.HttpSys (3)
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (3)
Microsoft.AspNetCore.SignalR.Client.Core (2)
Microsoft.AspNetCore.SignalR.Core (1)
Microsoft.CodeAnalysis.LanguageServer (3)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Diagnostics.Testing.Tests (2)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Logging (3)
Microsoft.Extensions.Logging.Abstractions (5)
LoggerExtensions.cs (4)
382logger.Log(LogLevel.Critical, eventId, exception, message, args);
399logger.Log(LogLevel.Critical, eventId, message, args);
416logger.Log(LogLevel.Critical, exception, message, args);
432logger.Log(LogLevel.Critical, message, args);
Microsoft.Extensions.Logging.Console (4)
Microsoft.Extensions.Logging.EventLog (1)
Microsoft.Extensions.Logging.EventSource (3)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Gen.Logging.Generated.Tests (31)
LogMethodTests.cs (10)
25Assert.Equal(LogLevel.Critical, collector.LatestRecord.Level);
32Assert.Equal(LogLevel.Critical, collector.LatestRecord.Level);
39Assert.Equal(LogLevel.Critical, collector.LatestRecord.Level);
52Assert.Equal(LogLevel.Critical, collector.LatestRecord.Level);
70fakeLogger.ControlLevel(LogLevel.Critical, false);
77LevelTestExtensions.M8(logger, LogLevel.Critical);
211CollectionTestExtensions.M9(logger, LogLevel.Critical, 0, new ArgumentException("Foo"), 1);
426Assert.Equal(LogLevel.Critical, collector.LatestRecord.Level);
444LevelTestExtensions.M8(logger, LogLevel.Critical);
447Assert.Equal(LogLevel.Critical, collector.LatestRecord.Level);
test\Generators\Microsoft.Gen.Logging\TestClasses\SignatureTestExtensions.cs (11)
13[LoggerMessage(eventId: 10, level: LogLevel.Critical, message: "Message11")]
45[LoggerMessage(0, LogLevel.Critical, "Message1")]
49[LoggerMessage(1, LogLevel.Critical, "Message2")]
53[LoggerMessage(2, LogLevel.Critical, "Message3")]
57[LoggerMessage(3, LogLevel.Critical, "Message4")]
61[LoggerMessage(4, LogLevel.Critical, "Message5 {items}")]
65[LoggerMessage(5, LogLevel.Critical, "Message6\n\"\r")]
69[LoggerMessage(6, LogLevel.Critical, "Message7 {p1}\n\"\r")]
73[LoggerMessage(7, LogLevel.Critical, "Message8")]
77[LoggerMessage(8, LogLevel.Critical, "Message9")]
81[LoggerMessage(9, LogLevel.Critical, "Message10 {optional}")]
RoutingSandbox (1)
RoutingWebSite (1)
Sockets.BindTests (6)
Sockets.FunctionalTests (3)