mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
missed a couple of log lines for logger
This commit is contained in:
@@ -64,9 +64,9 @@ const cacheWrap = async (cacheType, key, method, options) => {
|
|||||||
return method();
|
return method();
|
||||||
}
|
}
|
||||||
|
|
||||||
console.debug(`Cache type: ${cacheType}`);
|
logger.debug(`Cache type: ${cacheType}`);
|
||||||
console.debug(`Cache key: ${key}`);
|
logger.debug(`Cache key: ${key}`);
|
||||||
console.debug(`Cache options: ${JSON.stringify(options)}`);
|
logger.debug(`Cache options: ${JSON.stringify(options)}`);
|
||||||
|
|
||||||
return cache.wrap(key, method, options.ttl);
|
return cache.wrap(key, method, options.ttl);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user