1 write to Logger
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingContext.cs (1)
26Logger = logger;
25 references to Logger
Microsoft.AspNetCore.ResponseCaching (25)
ResponseCachingMiddleware.cs (3)
437context.Logger.NotModifiedIfNoneMatchStar(); 451context.Logger.NotModifiedIfNoneMatchMatched(requestETag); 473context.Logger.NotModifiedIfModifiedSinceSatisfied(modified, modifiedSince);
ResponseCachingPolicyProvider.cs (22)
19context.Logger.RequestMethodNotCacheable(request.Method); 26context.Logger.RequestWithAuthorizationNotCacheable(); 43context.Logger.RequestWithNoCacheNotCacheable(); 52context.Logger.RequestWithPragmaNoCacheNotCacheable(); 73context.Logger.ResponseWithoutPublicNotCacheable(); 80context.Logger.ResponseWithNoStoreNotCacheable(); 87context.Logger.ResponseWithNoCacheNotCacheable(); 96context.Logger.ResponseWithSetCookieNotCacheable(); 104context.Logger.ResponseWithVaryStarNotCacheable(); 111context.Logger.ResponseWithPrivateNotCacheable(); 118context.Logger.ResponseWithUnsuccessfulStatusCodeNotCacheable(response.StatusCode); 129context.Logger.ExpirationExpiresExceeded(context.ResponseTime.Value, context.ResponseExpires.Value); 140context.Logger.ExpirationSharedMaxAgeExceeded(age, context.ResponseSharedMaxAge.Value); 148context.Logger.ExpirationMaxAgeExceeded(age, context.ResponseMaxAge.Value); 156context.Logger.ExpirationExpiresExceeded(context.ResponseTime.Value, context.ResponseExpires.Value); 176context.Logger.ExpirationMinFreshAdded(minFresh.Value); 186context.Logger.ExpirationSharedMaxAgeExceeded(age, cachedSharedMaxAge.Value); 205context.Logger.ExpirationMustRevalidate(age, lowestMaxAge.Value); 216context.Logger.ExpirationInfiniteMaxStaleSatisfied(age, lowestMaxAge.Value); 223context.Logger.ExpirationMaxStaleSatisfied(age, lowestMaxAge.Value, requestMaxStale.Value); 227context.Logger.ExpirationMaxAgeExceeded(age, lowestMaxAge.Value); 237context.Logger.ExpirationExpiresExceeded(context.ResponseTime.Value, expires);