Navigation
API > API/Runtime > API/Runtime/TraceLog
Description
Setup TraceLog to output to a new or existing file, to take effect next update. Will fail if another pending output has been queued or if the file location is not writeable.
| Name | UE::Trace::WriteTo |
| 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::WriteTo
(
const TCHAR * Path,
uint16 Flags
)
}
}
True if the file could be opened or created correctly, false otherwise
Parameters
| Name | Remarks |
|---|---|
| Path | Target path |
| Flags | Options for the connection |