Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed verbose logging to only print under DEBUG configuration.

  • Loading branch information...
commit 381e6a41acc269ae1a458e142256ec4c716f01d7 1 parent 2bac46c
@shazron shazron authored
View
15 CordovaLib/Classes/CDVViewController.m
@@ -376,7 +376,7 @@ - (void) webViewDidFinishLoad:(UIWebView*)theWebView
[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 @@ - (void) flushCommandQueue
- (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;
}
View
2  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 */,
Please sign in to comment.
Something went wrong with that request. Please try again.