Only allow in-code log overrides if we're running in dev
This commit is contained in:
parent
5372acdf07
commit
d633cb3b97
@ -4,7 +4,7 @@ import currentBrowser from '../conf/BrowserDetect';
|
||||
class Logger {
|
||||
constructor(conf) {
|
||||
this.initLogger();
|
||||
if (conf) {
|
||||
if (conf && process.env.CHANNEL === 'dev') {
|
||||
this.conf = conf;
|
||||
}
|
||||
if (this.conf.consoleOptions === undefined) {
|
||||
|
Loading…
Reference in New Issue
Block a user