diff --git a/TcpServer.js b/TcpServer.js index 96ccab1..fd95e19 100644 --- a/TcpServer.js +++ b/TcpServer.js @@ -54,10 +54,10 @@ function TcpServer(connectionListener: (socket: Socket) => void) { util.inherits(TcpServer, EventEmitter); TcpServer.prototype._debug = function() { - if (__DEV__) { - var args = [].slice.call(arguments); - console.log.apply(console, args); - } + // if (__DEV__) { + // var args = [].slice.call(arguments); + // console.log.apply(console, args); + // } }; // TODO : determine how to properly overload this with flow diff --git a/TcpSocket.js b/TcpSocket.js index 0044bba..3fa0483 100644 --- a/TcpSocket.js +++ b/TcpSocket.js @@ -67,11 +67,11 @@ function TcpSocket(options: ?{ id: ?number }) { util.inherits(TcpSocket, stream.Duplex); TcpSocket.prototype._debug = function() { - if (__DEV__) { - var args = [].slice.call(arguments); - args.unshift('socket-' + this._id); - console.log.apply(console, args); - } + // if (__DEV__) { + // var args = [].slice.call(arguments); + // args.unshift('socket-' + this._id); + // console.log.apply(console, args); + // } }; // TODO : determine how to properly overload this with flow