ue4 c++ log code example
Example 1: unreal log text
UE_LOG(LogTemp, Warning, TEXT("Some warning message") );
Example 2: debug log ue4
UE_LOG(LogTemp, Warning, TEXT("Text, %d %f %s"), intVar, floatVar, *fstringVar );
UE_LOG(LogTemp, Warning, TEXT("Some warning message") );
UE_LOG(LogTemp, Warning, TEXT("Text, %d %f %s"), intVar, floatVar, *fstringVar );