From 9c1fb77dc8b839e68c66e9eb5dc69eeacdd67770 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Wed, 31 Mar 2021 00:10:41 +0200 Subject: [PATCH] Turn all logging off for release --- src/ext/UWServer.ts | 6 +++--- src/ext/lib/Logger.ts | 4 ++-- src/ext/uw-ui.js | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ext/UWServer.ts b/src/ext/UWServer.ts index f0e8765..61e4104 100644 --- a/src/ext/UWServer.ts +++ b/src/ext/UWServer.ts @@ -37,14 +37,14 @@ export default class UWServer { const loggingOptions = { isBackgroundScript: true, - allowLogging: true, + allowLogging: false, useConfFromStorage: true, logAll: true, fileOptions: { - enabled: true, + enabled: false, }, consoleOptions: { - enabled: true + enabled: false } }; this.logger = new Logger(); diff --git a/src/ext/lib/Logger.ts b/src/ext/lib/Logger.ts index 9c920c6..3631ec0 100644 --- a/src/ext/lib/Logger.ts +++ b/src/ext/lib/Logger.ts @@ -10,13 +10,13 @@ if (process.env.CHANNEL !== 'stable'){ export const baseLoggingOptions: LoggerConfig = { isContentScript: true, - allowLogging: true, + allowLogging: false, useConfFromStorage: true, fileOptions: { enabled: false }, consoleOptions: { - "enabled": true, + "enabled": false, "debug": true, "init": true, "settings": true, diff --git a/src/ext/uw-ui.js b/src/ext/uw-ui.js index 6a4ee4a..47e834c 100644 --- a/src/ext/uw-ui.js +++ b/src/ext/uw-ui.js @@ -41,13 +41,13 @@ class UwUi { if (!this.logger) { const loggingOptions = { isContentScript: true, - allowLogging: true, + allowLogging: false, useConfFromStorage: true, fileOptions: { enabled: false }, consoleOptions: { - "enabled": true, + "enabled": false, "debug": true, "init": true, "settings": true,