Navigation
API > API/Runtime > API/Runtime/TraceLog
Description
Setup TraceLog to output to user defined callback, to take effect next update. Will fail if another pending output has been queued.
| Name | UE::Trace::RelayTo |
| Type | function |
| Header File | /Engine/Source/Runtime/TraceLog/Public/Trace/Trace.h |
| Include Path | #include "Trace/Trace.h" |
namespace UE
{
namespace Trace
{
UE_bool UE::Trace::RelayTo
(
UPTRINT InHandle,
IoWriteFunc WriteFunc,
IoCloseFunc CloseFunc,
uint16 Flags
)
}
}
True if successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| WriteFunc | Function to call when writing data |
| CloseFunc | Function to call when output is closed |
| Flags | Options for the connection |