Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove console log output

  • Loading branch information...
commit 7549f54d4406c962caac07e976e6f7e545746c9e 1 parent 84f6468
@richard richard authored
View
7 Classes/Outline/DocumentViewController.m
@@ -121,12 +121,13 @@ - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)
if (resolved_link && [self pushOrgFile:resolved_link withAnimation:true]) {
//NSLog(@"open org file %@\n", [[request URL] resourceSpecifier]);
} else {
- NSLog(@"could not open org file %@\n", [[request URL] resourceSpecifier]);
+ //NSLog(@"could not open org file %@\n", [[request URL] resourceSpecifier]);
}
return NO;
} else {
- if (![[UIApplication sharedApplication] openURL:[request URL]])
- NSLog(@"%@%@",@"Failed to open url:",[[request URL] description]);
+ [[UIApplication sharedApplication] openURL:[request URL]];
+ //if (![[UIApplication sharedApplication] openURL:[request URL]])
+ // NSLog(@"%@%@",@"Failed to open url:",[[request URL] description]);
return NO;
}
}
View
2  Classes/Parsing/ChecksumFileParser.m
@@ -43,7 +43,7 @@ - (void)parse:(NSString*)filename {
NSError *error = nil;
NSString *entireFile = [NSString stringWithContentsOfFile:filename encoding:NSUTF8StringEncoding error:&error];
if (error) {
- NSLog(@"Failed to read contents of file because: %@ (%@)", [error description], [error userInfo]);
+ //NSLog(@"Failed to read contents of file because: %@ (%@)", [error description], [error userInfo]);
entireFile = @"";
}
View
2  Classes/Parsing/EditsFileParser.m
@@ -50,7 +50,7 @@ - (void)parse {
// Read the entire file into memory (perhaps one day we'll do this line by line somehow?)
entireFile = [NSString stringWithContentsOfFile:editsFilename encoding:NSUTF8StringEncoding error:&error];
if (error) {
- NSLog(@"Failed to read contents of file because: %@", [error description]);
+ //NSLog(@"Failed to read contents of file because: %@", [error description]);
entireFile = @"* Bad file encoding\n Unable to detect file encoding, please re-save this file using the proper encoding.";
}
View
2  Classes/Parsing/OrgFileParser.m
@@ -65,7 +65,7 @@ - (void)parse {
// Read the entire file into memory (perhaps one day we'll do this line by line somehow?)
entireFile = [NSString stringWithContentsOfFile:localFilename encoding:NSUTF8StringEncoding error:&error];
if (error) {
- NSLog(@"Failed to read contents of file because: %@ (%@)", [error description], [error userInfo]);
+ //NSLog(@"Failed to read contents of file because: %@ (%@)", [error description], [error userInfo]);
entireFile = @"* Bad file encoding\n Unable to detect file encoding, please re-save this file using the proper encoding.";
}
View
2  Classes/Sync/SyncManager.m
@@ -704,7 +704,7 @@ - (void)transferComplete:(TransferContext*)context {
}
- (void)transferFailed:(TransferContext*)context {
- NSLog(@"Failed %@ with code %d", [context remoteUrl], [context statusCode]);
+ //NSLog(@"Failed %@ with code %d", [context remoteUrl], [context statusCode]);
switch (currentState) {
case SyncManagerTransferStateDownloadingEditsFile:
if ([context statusCode] == 404) {
Please sign in to comment.
Something went wrong with that request. Please try again.