Conforms to NSObject
Declared in DDFileLogger.h

Tasks

  •   maximumNumberOfLogFiles

    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.

    property required method

Properties

maximumNumberOfLogFiles

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.

@property (readwrite, assign) 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 deleting old/rolled/archived log files by setting this property to zero.

Declared In

DDFileLogger.h