src/js/widgets/traceWidget.js
branchpopcorn-port
changeset 841 8da49ff273e0
parent 835 a8af9da7c622
child 895 13fae7e9b4e7
equal deleted inserted replaced
840:ac66e2240e1e 841:8da49ff273e0
   125         default:
   125         default:
   126             _traceName += _listener.replace('IriSP.','').replace('.','_');
   126             _traceName += _listener.replace('IriSP.','').replace('.','_');
   127     }
   127     }
   128     this.lastEvent = _traceName;
   128     this.lastEvent = _traceName;
   129     this.tracer.trace(_traceName, _arg);
   129     this.tracer.trace(_traceName, _arg);
   130     console.log("trace('" + _traceName + "', " + JSON.stringify(_arg) + ");");
   130     if (this._config.js_console) {
   131     
   131         console.log("tracer.trace('" + _traceName + "', " + JSON.stringify(_arg) + ");");
       
   132     }
   132 }
   133 }