logging code ue 4c++ code example
Example 1: unreal log text
UE_LOG(LogTemp, Warning, TEXT("Some warning message") );
Example 2: ue4 log float
UE_LOG(LogTemp, Log, TEXT("Value = %f"), FloatVar);
UE_LOG(LogTemp, Warning, TEXT("Some warning message") );
UE_LOG(LogTemp, Log, TEXT("Value = %f"), FloatVar);