Skip to content

Commit eb32d4b

Browse files
committed
Test: add log file path output
1 parent 084921d commit eb32d4b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sample/Source/SentryPlayground/SentryPlaygroundGameInstance.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@
1313
#include "Misc/EngineVersionComparison.h"
1414
#include "Misc/CommandLine.h"
1515
#include "Engine/Engine.h"
16+
#include "GenericPlatform/GenericPlatformOutputDevices.h"
1617

1718
void USentryPlaygroundGameInstance::Init()
1819
{
1920
Super::Init();
2021

22+
const FString LogFilePath = *FPaths::ConvertRelativePathToFull(FGenericPlatformOutputDevices::GetAbsoluteLogFilename());
23+
UE_LOG(LogSentrySample, Display, TEXT("GAME LOG PATH: %s\n"), *LogFilePath);
24+
2125
const TCHAR* CommandLine = FCommandLine::Get();
2226

2327
// Check for expected test parameters to decide between running integration tests

0 commit comments

Comments
 (0)