Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTraceAuxiliary
Description
Start tracing to a custom target by providing a handle and a write and close function. If a connection is already active this call does nothing.
| Name | Relay |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/ProfilingDebugging/TraceAuxiliary.h |
| Include Path | #include "ProfilingDebugging/TraceAuxiliary.h" |
| Source | /Engine/Source/Runtime/Core/Private/ProfilingDebugging/TraceAuxiliary.cpp |
static bool Relay
(
UPTRINT Handle,
UE::Trace::IoWriteFunc WriteFunc,
UE::Trace::IoCloseFunc CloseFunc,
const TCHAR * Channels,
const FOptions * Options
)
True when successfully starting the trace, false if the data connection could not be made.
Parameters
| Name | Remarks |
|---|---|
| Handle | Anonymous handle to trace to. This will be passed to the writer and close functions. |
| WriteFunc | A function to handle writing of trace data |
| CloseFunc | A function to handle closing of the data stream. |
| Channels | Comma separated list of channels to enable. Default set of channels are enabled if argument is not specified. If the pointer is null no channels are enabled. |
| Options | Optional additional tracing options. |