--
You received this message because you are subscribed to the Google Groups "CocoaLumberjack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocoalumberja...@googlegroups.com.
To post to this group, send email to cocoalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cocoalumberjack/86f37c4f-3c4f-4755-b5c7-9218bbec4d8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
DDLogFileInfo *mostRecentLogFileInfo = [sortedLogFileInfos objectAtIndex:0];
BOOL shouldArchiveMostRecent = NO;
if (mostRecentLogFileInfo.isArchived)
{
shouldArchiveMostRecent = NO;
}
if (!_doNotReuseLogFiles && !shouldArchiveMostRecent)
{
NSLogVerbose(@"DDFileLogger: Resuming logging with file %@", mostRecentLogFileInfo.fileName);
currentLogFileInfo = mostRecentLogFileInfo;
}
DDLogFileInfo *mostRecentLogFileInfo = [sortedLogFileInfos objectAtIndex:0];
BOOL shouldArchiveMostRecent = NO;
BOOL mostRecentIsArchived = mostRecentLogFileInfo.isArchived;
if (mostRecentIsArchived)
{
shouldArchiveMostRecent = NO;
}
if (!_doNotReuseLogFiles && !shouldArchiveMostRecent && !mostRecentIsArchived)
{
NSLogVerbose(@"DDFileLogger: Resuming logging with file %@", mostRecentLogFileInfo.fileName);
currentLogFileInfo = mostRecentLogFileInfo;
}