From 9db73c8c010f1da355fb877b664cb4dc1ba21238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Tue, 17 Mar 2020 12:15:28 +0100 Subject: [PATCH] Console logs should be more clear what it represents. --- api/redis.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/redis.js b/api/redis.js index 8e35e8c..886bdf1 100644 --- a/api/redis.js +++ b/api/redis.js @@ -8,19 +8,19 @@ try { console.error("Missing redis-configurations.."); client = { rpush: function() { - console.log("redis lpush", arguments); + console.log("redis-dummy lpush", arguments); if (typeof arguments[arguments.length - 1] == "function") { arguments[arguments.length - 1](null); } }, lrange: function() { - console.log("redis lrange", arguments); + console.log("redis-dummy lrange", arguments); if (typeof arguments[arguments.length - 1] == "function") { arguments[arguments.length - 1](null); } }, del: function() { - console.log("redis del", arguments); + console.log("redis-dummy del", arguments); if (typeof arguments[arguments.length - 1] == "function") { arguments[arguments.length - 1](null); }