[tor-commits] [flashproxy/master] Log to console when debug option is enabled

dcf at torproject.org dcf at torproject.org
Sun Jan 20 11:19:53 UTC 2013


commit 8bf4e013534d44b6da69bf4fd9ed296f227e8011
Author: Sathyanarayanan Gunasekaran <gsathya.ceg at gmail.com>
Date:   Thu Jan 10 00:54:37 2013 +0530

    Log to console when debug option is enabled
---
 proxy/flashproxy.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index fedef68..232b500 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -97,6 +97,7 @@ function puts(s) {
         /* http://www.w3.org/TR/cssom-view/#element-scrolling-members */
         at_bottom = (debug_div.scrollTop + debug_div.clientHeight === debug_div.scrollHeight);
         debug_div.appendChild(document.createTextNode(s + "\n"));
+        console.debug(s);
         if (at_bottom)
             debug_div.scrollTop = debug_div.scrollHeight;
     }





More information about the tor-commits mailing list