C++ Log Loop index

How can i log the loop index of my current for loop with c++?

for (int i=0; i<42; i++)
{
    UE_LOG(LogTemp, Log, TEXT("Loop index: %i"), i);
}