missed a couple of log lines for logger

This commit is contained in:
iPromKnight
2024-02-03 22:12:45 +00:00
parent 8c1b6fc91b
commit d660a72d6f

View File

@@ -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);
} }