10 instantiations of LoggedMessage
Microsoft.AspNetCore.OutputCaching.Tests (10)
TestUtils.cs (10)
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);
35 references to LoggedMessage
Microsoft.AspNetCore.OutputCaching.Tests (35)
OutputCacheMiddlewareTests.cs (24)
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); 522LoggedMessage.CachedResponseServed); 554LoggedMessage.CachedResponseServed); 588LoggedMessage.CachedResponseServed); 721LoggedMessage.ResponseCached); 750LoggedMessage.ResponseContentLengthMismatchNotCached); 783LoggedMessage.ResponseCached); 808LoggedMessage.ResponseCached); 829LoggedMessage.ResponseNotCached); 850LoggedMessage.ResponseNotCached); 880LoggedMessage.ResponseCached); 1084LoggedMessage.ResponseCached);
TestUtils.cs (11)
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);