<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def store_usage_stat(self, venv_data, cache):
 """Log an usage record for venv_data."""

        with open(self.stat_file_path, 'at') as f:
            self._write_venv_usage(f, venv_data)