Click or drag to resize
CacheDebugLogToFile Method
Logs the cache operation to the log file.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static void LogToFile(
	string operation,
	string key,
	Object value,
	DateTime absoluteExpiration,
	TimeSpan slidingExpiration,
	CacheItemPriority priority
)

Parameters

operation
Type: SystemString
Operation
key
Type: SystemString
Cache key
value
Type: SystemObject
Object to cache
absoluteExpiration
Type: SystemDateTime
Absolute expiration
slidingExpiration
Type: SystemTimeSpan
Sliding expiration
priority
Type: System.Web.CachingCacheItemPriority
Priority of the cache item
See Also