Implemented flexible logging solution utilizing the excellent LibComponentLogging library.

This commit is contained in:
Blake Watters
2011-06-10 09:22:23 -04:00
parent bc355d69fd
commit 9299cabc11
50 changed files with 3176 additions and 220 deletions

View File

@@ -44,10 +44,10 @@
// NOTE - Since we have side-stepped the router, we need to
// nest the param names under the model name ourselves
[params setValue:self.body forParam:@"post[body]"];
NSLog(@"Self Body: %@", self.body);
RKLogDebug(@"Self Body: %@", self.body);
if (_newAttachment) {
NSData* data = UIImagePNGRepresentation(_newAttachment);
NSLog(@"Data Size: %d", [data length]);
RKLogDebug(@"Data Size: %d", [data length]);
RKParamsAttachment* attachment = [params setData:data MIMEType:@"application/octet-stream" forParam:@"post[attachment]"];
attachment.fileName = @"image.png";
}