Log the location manager state as soon as possible when the switch is toggled.