Conforms to NSObject
Declared in DDFileLogger.h

Tasks

Properties

logFilesDiskQuota

@property (readwrite, assign, atomic) unsigned long long logFilesDiskQuota
Discussion

The maximum space that logs can take. On rolling logfile all old logfiles that exceed logFilesDiskQuota will be deleted.

You may optionally disable this option by setting it to zero.

Declared In

DDFileLogger.h

maximumNumberOfLogFiles

@property (readwrite, assign, atomic) NSUInteger maximumNumberOfLogFiles
Discussion

The maximum number of archived log files to keep on disk. For example, if this property is set to 3, then the LogFileManager will only keep 3 archived log files (plus the current active log file) on disk. Once the active log file is rolled/archived, then the oldest of the existing 3 rolled/archived log files is deleted.

You may optionally disable this option by setting it to zero.

Declared In

DDFileLogger.h

Instance Methods

createNewLogFile

- (NSString *)createNewLogFile

didArchiveLogFile:

- (void)didArchiveLogFile:(NSString *)logFilePath

didRollAndArchiveLogFile:

- (void)didRollAndArchiveLogFile:(NSString *)logFilePath

logsDirectory

- (NSString *)logsDirectory

sortedLogFileInfos

- (NSArray *)sortedLogFileInfos

sortedLogFileNames

- (NSArray *)sortedLogFileNames

sortedLogFilePaths

- (NSArray *)sortedLogFilePaths

unsortedLogFileInfos

- (NSArray *)unsortedLogFileInfos

unsortedLogFileNames

- (NSArray *)unsortedLogFileNames

unsortedLogFilePaths

- (NSArray *)unsortedLogFilePaths