Navigation
API > API/Runtime > API/Runtime/TraceLog
Description
Checks if TraceLog currently has an output and return session and trace GUIDs of active trace stream. Note that trace events can still be recorded and saved in tail buffers regardless if an output is active.
| Name | UE::Trace::IsTracingTo |
| 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::IsTracingTo
(
uint32(&) OutSessionGuid,
uint32(&) OutTraceGuid
)
}
}
True if an output is active, false if not
Parameters
| Name | Remarks |
|---|---|
| OutSessionGuid | If output is active current session GUID will be written, otherwise it will be unchanged |
| OutTraceGuid | If output is active current trace GUID will be written, otherwise it will be unchanged |