DWQA QuestionsUnreal C++ logging
admin Staff asked 1 month ago
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT(“This is an on screen message!”));
UE_LOG(LogTemp, Log, TEXT(“Log text %f”), 0.1f);
UE_LOG(LogTemp, Warning, TEXT(“Log warning”));
UE_LOG(LogTemp, Error, TEXT(“Log error”));
FError::Throwf(TEXT(“Log error”));
FMessageDialog::Open(EAppMsgType::Ok, FText::FromString(TEXT(“Dialog message”)));