mirror of https://github.com/embarklabs/embark.git
fix logs
This commit is contained in:
parent
3c7bdbf6cf
commit
023d8f7f5f
|
@ -45,7 +45,7 @@ class Engine {
|
|||
}, 0);
|
||||
|
||||
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.warn = this._log.bind(this, 'warn');
|
||||
context.console.error = this._log.bind(this, 'error');
|
||||
context.console.info = this._log.bind(this, 'info');
|
||||
context.console.debug = this._log.bind(this, 'debug');
|
||||
context.console.trace = this._log.bind(this, 'trace');
|
||||
|
|
Loading…
Reference in New Issue