Ported DebugLog.pm to CacheObject.