SimpleLogger is a logging module for iOS that allows logging to a file and the console at the same time. It is efficient and super easy to use.
Just replace NSLog statements with SLog statements.
[SLogger sharedLogger].maxNumberOfLogFiles = 3;
[SLogger sharedLogger].maxSizeOfLogFile = 50 * SLOG_KB;
[SLogger sharedLogger].logLevel = SLogLevelVerbose;
SLogError(@"Logging level = %@", @"Error");
SLogInfo(@"Logging level = %@", @"Info");
SLogVerbose(@"Logging level = %@", @"Verbose");
[[SLogger sharedLogger] getContentUpTo:100 * SLOG_KB completionHandler:^(NSString *content, NSArray *filesRead) {
NSLog(@"Content = %@", content);
NSLog(@"FilesRead = %@", filesRead);
[[SLogger sharedLogger] removeFiles:filesRead];
}];