UBlueprintPathsLibrary::ProjectLogDir
#include "Kismet/BlueprintPathsLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the directory the engine writes its log files to for the current project.
Caveats & Gotchas
- • Cannot be overridden via an .ini setting — logging starts before .ini files are read, so this location is effectively fixed per-platform.
- • On some platforms (e.g. consoles) the actual writable log location differs from the desktop convention; always go through this function rather than hardcoding 'Saved/Logs'.
Signature
static FString ProjectLogDir() Return Type
FString Example
Open the log directory in a file dialog C++
const FString LogDir = UBlueprintPathsLibrary::ProjectLogDir();
FPlatformProcess::ExploreFolder(*LogDir); Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?