From c2ebe34ab637ae95371b36ab80108dbc496c975f Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 15 Mar 2020 19:47:38 +0100 Subject: [PATCH] Disable logging + extra notes --- src/csui/LoggerUi.vue | 3 ++- src/ext/lib/Logger.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/csui/LoggerUi.vue b/src/csui/LoggerUi.vue index 8461e2d..5ef210d 100644 --- a/src/csui/LoggerUi.vue +++ b/src/csui/LoggerUi.vue @@ -223,7 +223,8 @@ export default { } }, loggingEnded(newValue) { - console.log("is loggign ended?", newValue) + // note — the value of loggingEnded never actually matters. Even if this value is 'true' + // internally, vuexStore.dspatch() will still do its job and give us the signal we want if (newValue) { this.stopLogging(); } diff --git a/src/ext/lib/Logger.js b/src/ext/lib/Logger.js index bc7b492..f322017 100644 --- a/src/ext/lib/Logger.js +++ b/src/ext/lib/Logger.js @@ -105,8 +105,8 @@ class Logger { // console.info('[Logger:: No new logger settings!'); } if (changes['uwLogger'] && changes['uwLogger'].newValue) { - console.log("[Logger::] Logger have been changed outside of here. Updating active settings. Changes:", changes, "storage area:", area); - console.info("[Logger::] new logger settings object (parsed):", JSON.parse(changes.uwLogger.newValue)); + // console.log("[Logger::] Logger have been changed outside of here. Updating active settings. Changes:", changes, "storage area:", area); + // console.info("[Logger::] new logger settings object (parsed):", JSON.parse(changes.uwLogger.newValue)); } } if (!changes['uwLogger']) {