1 write to LogLevel
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (1)
99
LogLevel
= logLevel,
8 references to LogLevel
Sockets.BindTests (8)
src\Servers\Kestrel\shared\test\TestApplicationErrorLogger.cs (2)
33
public int TotalErrorsLogged => Messages.Count(message => message.
LogLevel
== LogLevel.Error);
35
public int CriticalErrorsLogged => Messages.Count(message => message.
LogLevel
== LogLevel.Critical);
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (6)
522
Assert.Single(LogMessages, log => log.
LogLevel
== LogLevel.Debug && string.Equals(CoreStrings.FormatBindingToDefaultAddress(Constants.DefaultServerAddress), log.Message, StringComparison.Ordinal));
559
Assert.Equal(0, LogMessages.Count(log => log.
LogLevel
== LogLevel.Critical &&
594
Assert.Equal(0, LogMessages.Count(log => log.
LogLevel
== LogLevel.Critical &&
637
Assert.Single(LogMessages, log => log.
LogLevel
== LogLevel.Information &&
682
Assert.Single(LogMessages, log => log.
LogLevel
== LogLevel.Warning &&
987
Assert.Equal(0, LogMessages.Count(log => log.
LogLevel
== LogLevel.Critical &&