Disable unnecessary logging

This commit is contained in:
Tamius Han 2020-03-01 21:52:12 +01:00
parent 33e05014fd
commit aba099d577

View File

@ -101,7 +101,7 @@ class Logger {
br.storage.onChanged.addListener( (changes, area) => {
if (process.env.CHANNEL === 'dev') {
if (!changes.uwLogger) {
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) {
console.log("[Logger::<storage/on change>] Logger have been changed outside of here. Updating active settings. Changes:", changes, "storage area:", area);