Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
chore (amqplib): remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
phucpnt committed Sep 12, 2016
1 parent 860b1a2 commit eb13909
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/amqplib_ascoltatore.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ AMQPLibAscoltatore.prototype.subscribe = function subscribe(topic, callback, don
if (!this._subs_counter.include(topic)) {
debug("binding queue to topic " + topic);

console.log('pattern', topic, this._subTopic(topic));

this._channel.bindQueue(this._queue, this._opts.exchange, this._subTopic(topic), {}, function(err, ok){
debug("queue bound to topic " + topic);
defer(done);
Expand All @@ -148,7 +146,6 @@ AMQPLibAscoltatore.prototype.publish = function publish(topic, message, done) {
this._raiseIfClosed();

debug("new message published to " + topic);
console.log('pattern', topic, this._pubTopic(topic));

this._channel.publish(this._opts.exchange, this._pubTopic(topic), new Buffer(String(message)));
defer(done);
Expand Down

0 comments on commit eb13909

Please sign in to comment.