TEXT Macro too many parameters

Hey,

I’m trying to Log a string like this:

FString moveDirectionString = FString::SanitizeFloat(moveDirection);
UE_LOG(LogTemp, Display, TEXT("Direction: %s", *moveDirectionString));

But I’m always getting this error Message:

too many actual parameters for macro ‘TEXT’

Any ideas what I’m missing here?

UE_LOG(LogTemp, Display, TEXT(“Direction: %s”), *moveDirectionString);

:stuck_out_tongue_winking_eye:

thanks for the answer.