Navigation
API > API/Developer > API/Developer/TraceServices > API/Developer/TraceServices/ILogProvider
Description
Reads information for a single message specified by index.
The current number of messages could be different than the value returned by the last call to GetMessageCount().
| Name | ReadMessage |
| Type | function |
| Header File | /Engine/Source/Developer/TraceServices/Public/TraceServices/Model/Log.h |
| Include Path | #include "TraceServices/Model/Log.h" |
bool ReadMessage
(
uint64 Index,
TFunctionRef < void &)> Callback
) const
Whether Index is valid or not.
Parameters
| Name | Remarks |
|---|---|
| Index | The index of the message to read. |
| Callback | The function to be called with the log message's information. |