Commit fffd1094 by Chavee Issariyapat

remove debug log

parent 13c23373
...@@ -36,8 +36,6 @@ let FlowAgent = function(option = {}) { ...@@ -36,8 +36,6 @@ let FlowAgent = function(option = {}) {
host: that.option.broker_uri, host: that.option.broker_uri,
options: opt options: opt
}); });
console.log('flowagent.js --');
console.log(this.option)
let flowemitter = FlowEmitter.create({ let flowemitter = FlowEmitter.create({
red: this.option.red, red: this.option.red,
channelID: this.option.channelID channelID: this.option.channelID
......
...@@ -12,9 +12,6 @@ const FlowEmitter = function(param = {}) { ...@@ -12,9 +12,6 @@ const FlowEmitter = function(param = {}) {
FlowEmitter.prototype.start = function() { FlowEmitter.prototype.start = function() {
let that = this; let that = this;
console.log('FlowEmitter--')
console.log('this.channelID == '+that.channelID)
this.red.events.on(`${that.channelID}-registershadowlistener`, function(client) { this.red.events.on(`${that.channelID}-registershadowlistener`, function(client) {
that.emit('registershadowlistener', client); that.emit('registershadowlistener', client);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment