Skip to content

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"));

Window Message

cpp
#include "Misc/MessageDialog.h"


const FText Message = LOCTEXT("MessageLog", "Hello");
FMessageDialog::Open(EAppMsgType::Ok, Message);