<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def pop_log(self):
 """Get one log from the log queue."""

        self._check_receive_loop()
        res = self.log_queue.get()
        self._check_error(res)
        return res