CacheDebugLogCacheOperation Method |
Logs the cache operation. Logs the cache operation to the file and to current request log for debugging.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static void LogCacheOperation(
string operation,
string key,
Object value,
CMSCacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration,
CMSCacheItemPriority priority,
bool useFullKey
)
Parameters
- operation
- Type: SystemString
Operation - key
- Type: SystemString
Cache key - value
- Type: SystemObject
Object to cache - dependencies
- Type: CMS.HelpersCMSCacheDependency
Cache dependencies - absoluteExpiration
- Type: SystemDateTime
Absolute expiration - slidingExpiration
- Type: SystemTimeSpan
Sliding expiration - priority
- Type: CMS.HelpersCMSCacheItemPriority
Priority of the cache item - useFullKey
- Type: SystemBoolean
If true, full cache key is used
See Also