Click or drag to resize
CacheDebugLogCacheOperation Method
Logs the cache operation. Logs the cache operation to the file and to current request log for debugging.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
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