diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-09-22 03:06:19 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-09-22 03:06:19 +0200 |
commit | 45f39c23804e12459e810a1f5014d892e4177b48 (patch) | |
tree | da7dfb5884642968a096b6563a02aff63f19a178 /web/src/js/connection.js | |
parent | 84e2a028c24f00ea86205dbfe5b9315c57d5ae3f (diff) | |
download | mitmproxy-45f39c23804e12459e810a1f5014d892e4177b48.tar.gz mitmproxy-45f39c23804e12459e810a1f5014d892e4177b48.tar.bz2 mitmproxy-45f39c23804e12459e810a1f5014d892e4177b48.zip |
beef up event log
Diffstat (limited to 'web/src/js/connection.js')
-rw-r--r-- | web/src/js/connection.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/src/js/connection.js b/web/src/js/connection.js index 640e9742..3edbfc20 100644 --- a/web/src/js/connection.js +++ b/web/src/js/connection.js @@ -14,7 +14,7 @@ _Connection.prototype.openWebSocketConnection = function () { ws.onclose = this.onclose.bind(this); }; _Connection.prototype.onopen = function (open) { - console.log("onopen", this, arguments); + console.debug("onopen", this, arguments); }; _Connection.prototype.onmessage = function (message) { //AppDispatcher.dispatchServerAction(...); @@ -23,11 +23,11 @@ _Connection.prototype.onmessage = function (message) { }; _Connection.prototype.onerror = function (error) { EventLogActions.add_event("WebSocket Connection Error."); - console.log("onerror", this, arguments); + console.debug("onerror", this, arguments); }; _Connection.prototype.onclose = function (close) { EventLogActions.add_event("WebSocket Connection closed."); - console.log("onclose", this, arguments); + console.debug("onclose", this, arguments); }; var Connection = new _Connection(location.origin + "/updates"); |