FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHealthLog_Construct ( kHealthLog log,
const kChar directory,
k32u  fileLimit,
k32u  sizeLimit,
k32u  blockSize,
kAlloc  allocator 
)

Constructs a kHealthLog object.

Log content is parsed during construction to establish previous stat values.

Parameters
logDestination for the constructed object handle.
directoryLog directory; contents will be managed by the log object.
fileLimitMaximum number of files to be retained in the log (or k32U_MAX for unlimited).
sizeLimitMaximum size of the log, in bytes (or k32U_MAX for unlimited).
blockSizeHint for ideal size for a single log file (or k32U_NULL for default).
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.