Functions | |
kvmStatus | kvmLogFileGetCount (kvmHandle h, uint32 *fileCount) |
kvmStatus | kvmLogFileGetType (kvmHandle h, uint32 fileIndx, int32 *logFileType) |
kvmStatus | kvmLogFileMount (kvmHandle h, uint32 fileIndx, uint32 *eventCount) |
kvmStatus | kvmLogFileMountEx (kvmHandle h, uint32 fileIndx, int64 *eventCount) |
kvmStatus | kvmLogFileDismount (kvmHandle h) |
kvmStatus | kvmLogFileGetStartTime (kvmHandle h, uint32 *startTime) |
kvmStatus | kvmLogFileGetEndTime (kvmHandle h, uint32 *endTime) |
kvmStatus | kvmLogFileGetCreatorSerial (kvmHandle h, uint32 *serialNumber) |
kvmStatus | kvmLogFileReadEvent (kvmHandle h, kvmLogEventEx *e) |
kvmStatus | kvmLogFileDeleteAll (kvmHandle h) |
Delete all log files from a Memorator.
[in] | h | An open kvmHandle. |
Dismount the log file opened with kvmLogFileMountEx(). The handle will stay valid.
[in] | h | An open kvmHandle. |
Count the number of log files
[in] | h | An open kvmHandle. |
[out] | fileCount | The number of log files on disk. |
Get the serialnumber of the interface that created the log file.
[in] | h | An open kvmHandle. |
[out] | serialNumber | The serialnumber of the interface that created the log file. |
Get the time of the first event in the log file. The time is returned in standard unix time format (number of seconds since 1970-01-01T00:00:00+00:00).
[in] | h | An open kvmHandle. |
[out] | endTime | The time of the last event in the log file (UTC) |
Get the time of the first event in the log file. The time is returned in standard unix time format (number of seconds since 1970-01-01T00:00:00+00:00).
[in] | h | An open kvmHandle. |
[out] | startTime | The time of the first event in the log file (UTC) |
Get type of log file.
[in] | h | An open kvmHandle. |
[in] | fileIndx | Index of the log file. |
[out] | logFileType | kvmLogFileType_xxx |
Mount the log file with the specified index. The index starts at 0. The approximate number of events in the log file is returned.
[in] | h | An open kvmHandle. |
[in] | fileIndx | Index of the log file to open. |
[out] | eventCount | The approximate number of events in the log file |
Mount the log file with the specified index. The index starts at 0. The approximate number of events in the log file is returned.
[in] | h | An open kvmHandle. |
[in] | fileIndx | Index of the log file to open. |
[out] | eventCount | The approximate number of events in the log file |
kvmStatus kvmLogFileReadEvent | ( | kvmHandle | h, |
kvmLogEventEx * | e | ||
) |
Read an event from a log file opened with kvmLogFileMountEx(). The next call to kvmLogFileReadEvent() will read the next event.
[in] | h | An open kvmHandle. |
[out] | e | Event from log file. |