Navigation
API > API/Runtime > API/Runtime/TraceLog
Description
Set optional allocation and free methods to use. If not set TraceLog will fall back to default platform allocation methods.
| Name | UE::Trace::SetMemoryHooks |
| Type | function |
| Header File | /Engine/Source/Runtime/TraceLog/Public/Trace/Trace.h |
| Include Path | #include "Trace/Trace.h" |
namespace UE
{
namespace Trace
{
UE_void UE::Trace::SetMemoryHooks
(
AllocFunc Alloc,
FreeFunc Free
)
}
}
Parameters
| Name | Remarks |
|---|---|
| Alloc | Callback for allocations |
| Free | Callback for free |