Inherits from NSObject
Conforms to DDLogFileManager
Declared in DDFileLogger.h

Overview

Default log file manager.

All log files are placed inside the logsDirectory. If a specific logsDirectory isn’t specified, the default directory is used. On Mac, this is in ~/Library/Logs/. On iPhone, this is in ~/Library/Caches/Logs.

Log files are named “

Archived log files are automatically deleted according to the maximumNumberOfLogFiles property.

Properties

newLogFileName

@property (readonly, copy) NSString *newLogFileName

Instance Methods

init

- (instancetype)init

initWithLogsDirectory:

- (instancetype)initWithLogsDirectory:(NSString *)logsDirectory

initWithLogsDirectory:defaultFileProtectionLevel:

- (instancetype)initWithLogsDirectory:(NSString *)logsDirectory defaultFileProtectionLevel:(NSString *)fileProtectionLevel

isLogFile:

- (BOOL)isLogFile:(NSString *)fileName