void UPositionReport::BeginPlay()
{
Super::BeginPlay();
// ...
FVector TargetLocation = GetOwner()->GetTargetLocation();
FString ObjectName = GetOwner()->GetName();
UE_LOG(LogTemp, Warning, TEXT("%s is at X = %0.1f Y = %0.1f Z = %0.1f!"), *ObjectName, TargetLocation.X, TargetLocation.Y, TargetLocation.Z);
}
I created an FVector variable called TargetLocation, I initialized it with the return from GetOwner()->GetTargetLocation(). In the log string I used the formating code for printing a float to 1 decimal place %0.1f. Then used the X, Y, and Z members of the TargetLocation Variable.