C# Class AspNetCore.ResponseCaching.LoggerExtensions

Defines *all* the logger messages produced by response caching
Show file Open project: speige/AspNetCore.ResponseCaching.Extensions

Public Methods

Method Description
CachedResponseServed ( ILogger logger ) : void
ExpirationExpiresExceeded ( ILogger logger, DateTimeOffset responseTime, DateTimeOffset expires ) : void
ExpirationInfiniteMaxStaleSatisfied ( ILogger logger, TimeSpan age, TimeSpan maxAge ) : void
ExpirationMaxAgeExceeded ( ILogger logger, TimeSpan age, TimeSpan sharedMaxAge ) : void
ExpirationMaxStaleSatisfied ( ILogger logger, TimeSpan age, TimeSpan maxAge, TimeSpan maxStale ) : void
ExpirationMinFreshAdded ( ILogger logger, TimeSpan duration ) : void
ExpirationMustRevalidate ( ILogger logger, TimeSpan age, TimeSpan maxAge ) : void
ExpirationSharedMaxAgeExceeded ( ILogger logger, TimeSpan age, TimeSpan sharedMaxAge ) : void
GatewayTimeoutServed ( ILogger logger ) : void
LogResponseNotCached ( ILogger logger ) : void
NoResponseServed ( ILogger logger ) : void
NotModifiedIfModifiedSinceSatisfied ( ILogger logger, DateTimeOffset lastModified, DateTimeOffset ifModifiedSince ) : void
NotModifiedIfNoneMatchMatched ( ILogger logger, EntityTagHeaderValue etag ) : void
NotModifiedIfNoneMatchStar ( ILogger logger ) : void
NotModifiedServed ( ILogger logger ) : void
RequestMethodNotCacheable ( ILogger logger, string method ) : void
RequestWithAuthorizationNotCacheable ( ILogger logger ) : void
RequestWithNoCacheNotCacheable ( ILogger logger ) : void
RequestWithPragmaNoCacheNotCacheable ( ILogger logger ) : void
ResponseCached ( ILogger logger ) : void
ResponseContentLengthMismatchNotCached ( ILogger logger ) : void
ResponseWithNoCacheNotCacheable ( ILogger logger ) : void
ResponseWithNoStoreNotCacheable ( ILogger logger ) : void
ResponseWithPrivateNotCacheable ( ILogger logger ) : void
ResponseWithSetCookieNotCacheable ( ILogger logger ) : void
ResponseWithUnsuccessfulStatusCodeNotCacheable ( ILogger logger, int statusCode ) : void
ResponseWithVaryStarNotCacheable ( ILogger logger ) : void
ResponseWithoutPublicNotCacheable ( ILogger logger ) : void
VaryByRulesUpdated ( ILogger logger, string headers, string queryKeys ) : void

Private Methods

Method Description
LoggerExtensions ( ) : System

Method Details

CachedResponseServed() public static method

public static CachedResponseServed ( ILogger logger ) : void
logger ILogger
return void

ExpirationExpiresExceeded() public static method

public static ExpirationExpiresExceeded ( ILogger logger, DateTimeOffset responseTime, DateTimeOffset expires ) : void
logger ILogger
responseTime DateTimeOffset
expires DateTimeOffset
return void

ExpirationInfiniteMaxStaleSatisfied() public static method

public static ExpirationInfiniteMaxStaleSatisfied ( ILogger logger, TimeSpan age, TimeSpan maxAge ) : void
logger ILogger
age TimeSpan
maxAge TimeSpan
return void

ExpirationMaxAgeExceeded() public static method

public static ExpirationMaxAgeExceeded ( ILogger logger, TimeSpan age, TimeSpan sharedMaxAge ) : void
logger ILogger
age TimeSpan
sharedMaxAge TimeSpan
return void

ExpirationMaxStaleSatisfied() public static method

public static ExpirationMaxStaleSatisfied ( ILogger logger, TimeSpan age, TimeSpan maxAge, TimeSpan maxStale ) : void
logger ILogger
age TimeSpan
maxAge TimeSpan
maxStale TimeSpan
return void

ExpirationMinFreshAdded() public static method

public static ExpirationMinFreshAdded ( ILogger logger, TimeSpan duration ) : void
logger ILogger
duration TimeSpan
return void

ExpirationMustRevalidate() public static method

public static ExpirationMustRevalidate ( ILogger logger, TimeSpan age, TimeSpan maxAge ) : void
logger ILogger
age TimeSpan
maxAge TimeSpan
return void

ExpirationSharedMaxAgeExceeded() public static method

public static ExpirationSharedMaxAgeExceeded ( ILogger logger, TimeSpan age, TimeSpan sharedMaxAge ) : void
logger ILogger
age TimeSpan
sharedMaxAge TimeSpan
return void

GatewayTimeoutServed() public static method

public static GatewayTimeoutServed ( ILogger logger ) : void
logger ILogger
return void

LogResponseNotCached() public static method

public static LogResponseNotCached ( ILogger logger ) : void
logger ILogger
return void

NoResponseServed() public static method

public static NoResponseServed ( ILogger logger ) : void
logger ILogger
return void

NotModifiedIfModifiedSinceSatisfied() public static method

public static NotModifiedIfModifiedSinceSatisfied ( ILogger logger, DateTimeOffset lastModified, DateTimeOffset ifModifiedSince ) : void
logger ILogger
lastModified DateTimeOffset
ifModifiedSince DateTimeOffset
return void

NotModifiedIfNoneMatchMatched() public static method

public static NotModifiedIfNoneMatchMatched ( ILogger logger, EntityTagHeaderValue etag ) : void
logger ILogger
etag EntityTagHeaderValue
return void

NotModifiedIfNoneMatchStar() public static method

public static NotModifiedIfNoneMatchStar ( ILogger logger ) : void
logger ILogger
return void

NotModifiedServed() public static method

public static NotModifiedServed ( ILogger logger ) : void
logger ILogger
return void

RequestMethodNotCacheable() public static method

public static RequestMethodNotCacheable ( ILogger logger, string method ) : void
logger ILogger
method string
return void

RequestWithAuthorizationNotCacheable() public static method

public static RequestWithAuthorizationNotCacheable ( ILogger logger ) : void
logger ILogger
return void

RequestWithNoCacheNotCacheable() public static method

public static RequestWithNoCacheNotCacheable ( ILogger logger ) : void
logger ILogger
return void

RequestWithPragmaNoCacheNotCacheable() public static method

public static RequestWithPragmaNoCacheNotCacheable ( ILogger logger ) : void
logger ILogger
return void

ResponseCached() public static method

public static ResponseCached ( ILogger logger ) : void
logger ILogger
return void

ResponseContentLengthMismatchNotCached() public static method

public static ResponseContentLengthMismatchNotCached ( ILogger logger ) : void
logger ILogger
return void

ResponseWithNoCacheNotCacheable() public static method

public static ResponseWithNoCacheNotCacheable ( ILogger logger ) : void
logger ILogger
return void

ResponseWithNoStoreNotCacheable() public static method

public static ResponseWithNoStoreNotCacheable ( ILogger logger ) : void
logger ILogger
return void

ResponseWithPrivateNotCacheable() public static method

public static ResponseWithPrivateNotCacheable ( ILogger logger ) : void
logger ILogger
return void

ResponseWithSetCookieNotCacheable() public static method

public static ResponseWithSetCookieNotCacheable ( ILogger logger ) : void
logger ILogger
return void

ResponseWithUnsuccessfulStatusCodeNotCacheable() public static method

public static ResponseWithUnsuccessfulStatusCodeNotCacheable ( ILogger logger, int statusCode ) : void
logger ILogger
statusCode int
return void

ResponseWithVaryStarNotCacheable() public static method

public static ResponseWithVaryStarNotCacheable ( ILogger logger ) : void
logger ILogger
return void

ResponseWithoutPublicNotCacheable() public static method

public static ResponseWithoutPublicNotCacheable ( ILogger logger ) : void
logger ILogger
return void

VaryByRulesUpdated() public static method

public static VaryByRulesUpdated ( ILogger logger, string headers, string queryKeys ) : void
logger ILogger
headers string
queryKeys string
return void