Turn all logging off for release
This commit is contained in:
parent
0a3627c7fe
commit
9c1fb77dc8
@ -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();
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user