In this video code
AActor* Owner = GetOwner();
FVector actorlocation = Owner->GetActorLocation();
FString actorlocationstring = actorlocation.ToCompactString();
UE_LOG(LogTemp, Warning, TEXT("actor location: %s"), *actorlocationstring);
Since we converted actorlocation to string why we have to add * again to print a string in the log ?