Disable unnecessary logging
This commit is contained in:
parent
33e05014fd
commit
aba099d577
@ -101,7 +101,7 @@ class Logger {
|
|||||||
br.storage.onChanged.addListener( (changes, area) => {
|
br.storage.onChanged.addListener( (changes, area) => {
|
||||||
if (process.env.CHANNEL === 'dev') {
|
if (process.env.CHANNEL === 'dev') {
|
||||||
if (!changes.uwLogger) {
|
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) {
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user