11 instantiations of LoggedMessage
Microsoft.AspNetCore.OutputCaching.Tests (11)
TestUtils.cs (11)
299internal static LoggedMessage NotModifiedIfNoneMatchStar => new LoggedMessage(1, LogLevel.Debug); 300internal static LoggedMessage NotModifiedIfNoneMatchMatched => new LoggedMessage(2, LogLevel.Debug); 301internal static LoggedMessage NotModifiedIfModifiedSinceSatisfied => new LoggedMessage(3, LogLevel.Debug); 302internal static LoggedMessage NotModifiedServed => new LoggedMessage(4, LogLevel.Information); 303internal static LoggedMessage CachedResponseServed => new LoggedMessage(5, LogLevel.Information); 304internal static LoggedMessage GatewayTimeoutServed => new LoggedMessage(6, LogLevel.Information); 305internal static LoggedMessage NoResponseServed => new LoggedMessage(7, LogLevel.Information); 306internal static LoggedMessage ResponseCached => new LoggedMessage(8, LogLevel.Information); 307internal static LoggedMessage ResponseNotCached => new LoggedMessage(9, LogLevel.Information); 308internal static LoggedMessage ResponseContentLengthMismatchNotCached => new LoggedMessage(10, LogLevel.Warning); 309internal static LoggedMessage ExpirationExpiresExceeded => new LoggedMessage(11, LogLevel.Debug);
33 references to LoggedMessage
Microsoft.AspNetCore.OutputCaching.Tests (33)
OutputCacheMiddlewareTests.cs (21)
49LoggedMessage.GatewayTimeoutServed); 65LoggedMessage.NoResponseServed); 93LoggedMessage.CachedResponseServed); 123LoggedMessage.CachedResponseServed); 151LoggedMessage.NotModifiedIfNoneMatchStar, 152LoggedMessage.NotModifiedServed); 203LoggedMessage.NotModifiedIfModifiedSinceSatisfied, 204LoggedMessage.NotModifiedIfModifiedSinceSatisfied); 245LoggedMessage.NotModifiedIfModifiedSinceSatisfied, 246LoggedMessage.NotModifiedIfModifiedSinceSatisfied); 267LoggedMessage.NotModifiedIfNoneMatchStar); 332LoggedMessage.NotModifiedIfNoneMatchMatched); 364LoggedMessage.NotModifiedIfNoneMatchMatched); 625LoggedMessage.ResponseCached); 654LoggedMessage.ResponseContentLengthMismatchNotCached); 687LoggedMessage.ResponseCached); 712LoggedMessage.ResponseCached); 733LoggedMessage.ResponseNotCached); 754LoggedMessage.ResponseNotCached); 784LoggedMessage.ResponseCached); 988LoggedMessage.ResponseCached);
TestUtils.cs (12)
267internal static void AssertLoggedMessages(IEnumerable<WriteContext> messages, params LoggedMessage[] expectedMessages) 299internal static LoggedMessage NotModifiedIfNoneMatchStar => new LoggedMessage(1, LogLevel.Debug); 300internal static LoggedMessage NotModifiedIfNoneMatchMatched => new LoggedMessage(2, LogLevel.Debug); 301internal static LoggedMessage NotModifiedIfModifiedSinceSatisfied => new LoggedMessage(3, LogLevel.Debug); 302internal static LoggedMessage NotModifiedServed => new LoggedMessage(4, LogLevel.Information); 303internal static LoggedMessage CachedResponseServed => new LoggedMessage(5, LogLevel.Information); 304internal static LoggedMessage GatewayTimeoutServed => new LoggedMessage(6, LogLevel.Information); 305internal static LoggedMessage NoResponseServed => new LoggedMessage(7, LogLevel.Information); 306internal static LoggedMessage ResponseCached => new LoggedMessage(8, LogLevel.Information); 307internal static LoggedMessage ResponseNotCached => new LoggedMessage(9, LogLevel.Information); 308internal static LoggedMessage ResponseContentLengthMismatchNotCached => new LoggedMessage(10, LogLevel.Warning); 309internal static LoggedMessage ExpirationExpiresExceeded => new LoggedMessage(11, LogLevel.Debug);