UBlueprintPathsLibrary::AutomationLogDir
#include "Kismet/BlueprintPathsLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the directory used for log files written specifically by the automation testing framework, separate from the main project log.
Caveats & Gotchas
- • Useful for CI pipelines that need to collect per-test logs separately from the main ProjectLogDir() output.
- • Only populated during automation test runs; empty in normal gameplay sessions.
Signature
static FString AutomationLogDir() Return Type
FString Example
Collect automation logs after a CI run C++
const FString LogDir = UBlueprintPathsLibrary::AutomationLogDir();
UE_LOG(LogTemp, Log, TEXT("Collecting automation logs from: %s"), *LogDir); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?