Unreal Log

posted in: Non classé | 0

// Like Blueprint Print

UKismetSystemLibrary::PrintString(this, “Your message”);

UKismetSystemLibrary::PrintString(this, FString(“Enable movement to “) + FString(enable ? “true” : “false”));

// Just to log

UE_LOG(LogTemp, Warning, TEXT(“Your message”));

// Just to screen

GEngine->AddOnScreenDebugMessage(-1, 1.5, FColor::White,text)

If you start a print by “Error:” or “Warning:” it will be display in red/orange

https://nerivec.github.io/old-ue4-wiki/pages/logs-printing-messages-to-yourself-during-runtime.html

Leave a Reply

Your email address will not be published. Required fields are marked *