<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def log_api_call(self):
 """Increases the amount of logged API calls for the user by 1."""

        history = self.get_history()
        history.amount_api_calls += 1
        self._history = history.save()
        return history