From 7abdea79e9cb665182df28b0efa4ea60c9fd8f29 Mon Sep 17 00:00:00 2001 From: Giuseppe Basile Date: Thu, 20 Dec 2012 17:51:06 +0100 Subject: [PATCH] Debug log is always active even when debug mode is OFF --- GAJavaScriptTracker/GAJSWebViewEngine.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GAJavaScriptTracker/GAJSWebViewEngine.m b/GAJavaScriptTracker/GAJSWebViewEngine.m index 55a38de..0136bb3 100755 --- a/GAJavaScriptTracker/GAJSWebViewEngine.m +++ b/GAJavaScriptTracker/GAJSWebViewEngine.m @@ -123,7 +123,7 @@ - (void)sendOffBatchedJS { if(_webviewLoaded) { for(id aJSString in _webViewPendingScripts) { //run it - NSLog(@"[JSC] Evaluate JS: %@ %@ %@", aJSString, _webView.customUserAgent, _webView.applicationNameForUserAgent); + ELog(@"[JSC] Evaluate JS: %@ %@ %@", aJSString, _webView.customUserAgent, _webView.applicationNameForUserAgent); NSString *result = [_webView stringByEvaluatingJavaScriptFromString:aJSString]; if (!result) { ELog(@"[JSC] No result returned");