logCacheData method
void
logCacheData(
- String key,
- CacheWrapper cache, {
- required Storage storage,
- required int ttlValue,
Implementation
void logCacheData(
String key,
CacheWrapper cache, {
required Storage storage,
required int ttlValue,
}) {
storage.log(
"Fetch cache data for key $key: ${cache.data} will expire in ${cache.expireIn(ttlValue)}ms");
}