11 instantiations of LoggedMessage
Microsoft.AspNetCore.OutputCaching.Tests (11)
TestUtils.cs (11)
289internal static LoggedMessage NotModifiedIfNoneMatchStar => new LoggedMessage(1, LogLevel.Debug); 290internal static LoggedMessage NotModifiedIfNoneMatchMatched => new LoggedMessage(2, LogLevel.Debug); 291internal static LoggedMessage NotModifiedIfModifiedSinceSatisfied => new LoggedMessage(3, LogLevel.Debug); 292internal static LoggedMessage NotModifiedServed => new LoggedMessage(4, LogLevel.Information); 293internal static LoggedMessage CachedResponseServed => new LoggedMessage(5, LogLevel.Information); 294internal static LoggedMessage GatewayTimeoutServed => new LoggedMessage(6, LogLevel.Information); 295internal static LoggedMessage NoResponseServed => new LoggedMessage(7, LogLevel.Information); 296internal static LoggedMessage ResponseCached => new LoggedMessage(8, LogLevel.Information); 297internal static LoggedMessage ResponseNotCached => new LoggedMessage(9, LogLevel.Information); 298internal static LoggedMessage ResponseContentLengthMismatchNotCached => new LoggedMessage(10, LogLevel.Warning); 299internal 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)
257internal static void AssertLoggedMessages(IEnumerable<WriteContext> messages, params LoggedMessage[] expectedMessages) 289internal static LoggedMessage NotModifiedIfNoneMatchStar => new LoggedMessage(1, LogLevel.Debug); 290internal static LoggedMessage NotModifiedIfNoneMatchMatched => new LoggedMessage(2, LogLevel.Debug); 291internal static LoggedMessage NotModifiedIfModifiedSinceSatisfied => new LoggedMessage(3, LogLevel.Debug); 292internal static LoggedMessage NotModifiedServed => new LoggedMessage(4, LogLevel.Information); 293internal static LoggedMessage CachedResponseServed => new LoggedMessage(5, LogLevel.Information); 294internal static LoggedMessage GatewayTimeoutServed => new LoggedMessage(6, LogLevel.Information); 295internal static LoggedMessage NoResponseServed => new LoggedMessage(7, LogLevel.Information); 296internal static LoggedMessage ResponseCached => new LoggedMessage(8, LogLevel.Information); 297internal static LoggedMessage ResponseNotCached => new LoggedMessage(9, LogLevel.Information); 298internal static LoggedMessage ResponseContentLengthMismatchNotCached => new LoggedMessage(10, LogLevel.Warning); 299internal static LoggedMessage ExpirationExpiresExceeded => new LoggedMessage(11, LogLevel.Debug);