Migrate dangling invocations of NSLog -> RKLog. refs #578

This commit is contained in:
Blake Watters
2012-03-20 19:36:40 -04:00
parent 145682fdbc
commit 0d709dbc07
3 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@
} else {
RKLogDebug(@"Failed to find object to connect relationship '%@' with primary key value '%@'", relationshipName, valueOfLocalPrimaryKeyAttribute);
}
NSLog(@"setValue of %@ forKeyPath %@", relatedObject, relationshipName);
RKLogTrace(@"setValue of %@ forKeyPath %@", relatedObject, relationshipName);
[self.destinationObject setValue:relatedObject forKeyPath:relationshipName];
} else {
RKLogTrace(@"Failed to find primary key value for attribute '%@'", primaryKeyAttribute);

View File

@@ -815,7 +815,7 @@ RKRequestMethod RKRequestMethodTypeFromName(NSString *methodName) {
NSError *error = nil;
NSString* parsedValue = [parser stringFromObject:body error:&error];
NSLog(@"parser=%@, error=%@, parsedValue=%@", parser, error, parsedValue);
RKLogTrace(@"parser=%@, error=%@, parsedValue=%@", parser, error, parsedValue);
if (error == nil && parsedValue) {
self.params = [RKRequestSerialization serializationWithData:[parsedValue dataUsingEncoding:NSUTF8StringEncoding]

View File

@@ -32,7 +32,7 @@
NSError* error = nil;
if(! [[NSFileManager defaultManager] createDirectoryAtPath:basePath withIntermediateDirectories:NO attributes:nil error:&error]) {
NSLog(@"%@", error);
RKLogError(@"%@", error);
}
}
@@ -63,7 +63,7 @@
NSError* error = nil;
if(![sharedFM createDirectoryAtURL:appDirectory withIntermediateDirectories:NO attributes:nil error:&error]) {
NSLog(@"%@", error);
RKLogError(@"%@", error);
}
}
return [appDirectory path];