mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-17 09:46:37 +00:00
fix logs
This commit is contained in:
parent
72115bb636
commit
a2c7f07f3d
@ -45,7 +45,7 @@ class Engine {
|
|||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
if (this.interceptLogs || this.interceptLogs === undefined) {
|
if (this.interceptLogs || this.interceptLogs === undefined) {
|
||||||
// this.doInterceptLogs();
|
this.doInterceptLogs();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ class ProcessWrapper {
|
|||||||
|
|
||||||
context.console.log = this._log.bind(this, 'log');
|
context.console.log = this._log.bind(this, 'log');
|
||||||
context.console.warn = this._log.bind(this, 'warn');
|
context.console.warn = this._log.bind(this, 'warn');
|
||||||
|
context.console.error = this._log.bind(this, 'error');
|
||||||
context.console.info = this._log.bind(this, 'info');
|
context.console.info = this._log.bind(this, 'info');
|
||||||
context.console.debug = this._log.bind(this, 'debug');
|
context.console.debug = this._log.bind(this, 'debug');
|
||||||
context.console.trace = this._log.bind(this, 'trace');
|
context.console.trace = this._log.bind(this, 'trace');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user