Navigation
API > API/Developer > API/Developer/TraceServices > API/Developer/TraceServices/ILogProvider
Description
Enumerates messages in the specified index interval [StartIndex, EndIndex).
The current number of messages could be different than the value returned by the last call to GetMessageCount().
| Name | EnumerateMessagesByIndex |
| Type | function |
| Header File | /Engine/Source/Developer/TraceServices/Public/TraceServices/Model/Log.h |
| Include Path | #include "TraceServices/Model/Log.h" |
void EnumerateMessagesByIndex
(
uint64 StartIndex,
uint64 EndIndex,
TFunctionRef < void &)> Callback
) const
Parameters
| Name | Remarks |
|---|---|
| StartIndex | The inclusive start index of the interval. |
| EndIndex | The exclusive end index of the interval. |
| Callback | The function to be called for each log message with the message's information. |