Disable logging + extra notes

This commit is contained in:
Tamius Han 2020-03-15 19:47:38 +01:00
parent c83f8530f8
commit c2ebe34ab6
2 changed files with 4 additions and 3 deletions

View File

@ -223,7 +223,8 @@ export default {
} }
}, },
loggingEnded(newValue) { 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) { if (newValue) {
this.stopLogging(); this.stopLogging();
} }

View File

@ -105,8 +105,8 @@ class Logger {
// console.info('[Logger::<storage/on change> No new logger settings!'); // console.info('[Logger::<storage/on change> No new logger settings!');
} }
if (changes['uwLogger'] && changes['uwLogger'].newValue) { if (changes['uwLogger'] && changes['uwLogger'].newValue) {
console.log("[Logger::<storage/on change>] Logger have been changed outside of here. Updating active settings. Changes:", changes, "storage area:", area); // console.log("[Logger::<storage/on change>] Logger have been changed outside of here. Updating active settings. Changes:", changes, "storage area:", area);
console.info("[Logger::<storage/on change>] new logger settings object (parsed):", JSON.parse(changes.uwLogger.newValue)); // console.info("[Logger::<storage/on change>] new logger settings object (parsed):", JSON.parse(changes.uwLogger.newValue));
} }
} }
if (!changes['uwLogger']) { if (!changes['uwLogger']) {