Mac log function names?

I added your UE_LOG(LogTemp, Log, TEXT(“I am in function %s”), TEXT(FUNCTION)); to the player controller begin play function and it wont compile. Same error as in OP.

error: use of undeclared identifier ‘L__FUNCTION__’