Inherits from NSObject
Declared in DDFileLogger.h

Overview

DDLogFileInfo is a simple class that provides access to various file attributes. It provides good performance as it only fetches the information if requested, and it caches the information to prevent duplicate fetches.

It was designed to provide quick snapshots of the current state of log files, and to help sort log files in an array.

This class does not monitor the files, or update it’s cached attribute values if the file changes on disk. This is not what the class was designed for.

If you absolutely must get updated values, you can invoke the reset method which will clear the cache.