Skip to content

Commit

Permalink
Remove console log output
Browse files Browse the repository at this point in the history
  • Loading branch information
richard committed Oct 20, 2009
1 parent 84f6468 commit 7549f54
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions Classes/Outline/DocumentViewController.m
Expand Up @@ -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;
}
}
Expand Down
2 changes: 1 addition & 1 deletion Classes/Parsing/ChecksumFileParser.m
Expand Up @@ -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 = @"";
}

Expand Down
2 changes: 1 addition & 1 deletion Classes/Parsing/EditsFileParser.m
Expand Up @@ -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.";
}

Expand Down
2 changes: 1 addition & 1 deletion Classes/Parsing/OrgFileParser.m
Expand Up @@ -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.";
}

Expand Down
2 changes: 1 addition & 1 deletion Classes/Sync/SyncManager.m
Expand Up @@ -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) {
Expand Down

0 comments on commit 7549f54

Please sign in to comment.