IFTT mobile app > create recipe > set trigger "You enter an area" > Then "Add row to spreadsheet"
You have to do two "applets" though, one for entering and one for leaving, but you might be able to log to the same file
I use Tasker to do something similar. It checks visible cell towers when I unlock and turns on wifi if it sees the tower near my house. (Another script turns off WiFi when the network drops presumably because I've gone out of range).