Turn all logging off for release

This commit is contained in:
Tamius Han 2021-03-31 00:10:41 +02:00
parent 0a3627c7fe
commit 9c1fb77dc8
3 changed files with 7 additions and 7 deletions

View File

@ -37,14 +37,14 @@ export default class UWServer {
const loggingOptions = { const loggingOptions = {
isBackgroundScript: true, isBackgroundScript: true,
allowLogging: true, allowLogging: false,
useConfFromStorage: true, useConfFromStorage: true,
logAll: true, logAll: true,
fileOptions: { fileOptions: {
enabled: true, enabled: false,
}, },
consoleOptions: { consoleOptions: {
enabled: true enabled: false
} }
}; };
this.logger = new Logger(); this.logger = new Logger();

View File

@ -10,13 +10,13 @@ if (process.env.CHANNEL !== 'stable'){
export const baseLoggingOptions: LoggerConfig = { export const baseLoggingOptions: LoggerConfig = {
isContentScript: true, isContentScript: true,
allowLogging: true, allowLogging: false,
useConfFromStorage: true, useConfFromStorage: true,
fileOptions: { fileOptions: {
enabled: false enabled: false
}, },
consoleOptions: { consoleOptions: {
"enabled": true, "enabled": false,
"debug": true, "debug": true,
"init": true, "init": true,
"settings": true, "settings": true,

View File

@ -41,13 +41,13 @@ class UwUi {
if (!this.logger) { if (!this.logger) {
const loggingOptions = { const loggingOptions = {
isContentScript: true, isContentScript: true,
allowLogging: true, allowLogging: false,
useConfFromStorage: true, useConfFromStorage: true,
fileOptions: { fileOptions: {
enabled: false enabled: false
}, },
consoleOptions: { consoleOptions: {
"enabled": true, "enabled": false,
"debug": true, "debug": true,
"init": true, "init": true,
"settings": true, "settings": true,