Log
Log Message
cpp
// Text
GEngine->AddOnScreenDebugMessage(-1, 10, FColor::Green, "Hey");
// Vector
GEngine->AddOnScreenDebugMessage(-1, 10, FColor::Green, FString::Printf(TEXT("Vector : %s"), *GetActorLocation().ToString()));
// Console log
UE_LOG(LogTemp, Warning, TEXT("Hey"));
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Window Message
cpp
#include "Misc/MessageDialog.h"
const FText Message = LOCTEXT("MessageLog", "Hello");
FMessageDialog::Open(EAppMsgType::Ok, Message);
1
2
3
4
5
2
3
4
5