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 {
|
class Logger {
|
||||||
constructor(conf) {
|
constructor(conf) {
|
||||||
this.initLogger();
|
this.initLogger();
|
||||||
if (conf) {
|
if (conf && process.env.CHANNEL === 'dev') {
|
||||||
this.conf = conf;
|
this.conf = conf;
|
||||||
}
|
}
|
||||||
if (this.conf.consoleOptions === undefined) {
|
if (this.conf.consoleOptions === undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user