You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/04/06 02:13:12 UTC
[2/2] ios commit: Removed verbose logging to only print under DEBUG
configuration.
Removed verbose logging to only print under DEBUG configuration.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/381e6a41
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/381e6a41
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/381e6a41
Branch: refs/heads/master
Commit: 381e6a41acc269ae1a458e142256ec4c716f01d7
Parents: 2bac46c
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu Apr 5 17:12:23 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu Apr 5 17:12:23 2012 -0700
----------------------------------------------------------------------
CordovaLib/Classes/CDVViewController.m | 15 +++++----------
CordovaLib/CordovaLib.xcodeproj/project.pbxproj | 2 +-
2 files changed, 6 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/381e6a41/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index f809b54..ee2f4c7 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -376,7 +376,7 @@
[result appendFormat:@"\nwindow.Settings = %@;", [temp JSONString]];
}
- NSLog(@"Device initialization: %@", result);
+ DLog(@"Device initialization: %@", result);
NSString* jsResult = [theWebView stringByEvaluatingJavaScriptFromString:result];
// if jsResult is not nil nor empty, an error
if (jsResult != nil && [jsResult length] > 0) {
@@ -734,15 +734,10 @@ BOOL gSplashScreenShown = NO;
- (BOOL) execute:(CDVInvokedUrlCommand*)command
{
- NSLog(@"execute %@ : %@", command.className, command.methodName);
- NSLog(@"arguments:");
- for (id t in command.arguments) {
- NSLog(@"%@", t);
- }
- NSLog(@"options:");
- for (id t in command.options) {
- NSLog(@"%@", t);
- }
+ DLog(@"execute class:%@ method:%@", command.className, command.methodName);
+ DLog(@"arguments: %@", [command.arguments JSONString]);
+ DLog(@"options: %@", [command.options JSONString]);
+
if (command.className == nil || command.methodName == nil) {
return NO;
}
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/381e6a41/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/CordovaLib/CordovaLib.xcodeproj/project.pbxproj b/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
index e52971c..6a72bc2 100644
--- a/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
+++ b/CordovaLib/CordovaLib.xcodeproj/project.pbxproj
@@ -431,7 +431,6 @@
3054098714B77FF3009841CA /* Cleaver */ = {
isa = PBXGroup;
children = (
- 301F2F2914F3C9CA003FE9FC /* CDV.h */,
8852C43614B65FD800F0E735 /* CDVViewController.h */,
8852C43714B65FD800F0E735 /* CDVViewController.m */,
8852C43814B65FD800F0E735 /* CDVCordovaView.h */,
@@ -479,6 +478,7 @@
888700D710922F56009987E8 /* Commands */ = {
isa = PBXGroup;
children = (
+ 301F2F2914F3C9CA003FE9FC /* CDV.h */,
3034979A1513D56A0090E688 /* CDVLocalStorage.h */,
3034979B1513D56A0090E688 /* CDVLocalStorage.m */,
30392E4D14F4FCAB00B9E0B8 /* CDVAvailability.h */,