

def new_log(self):
    'Registers a new log so that calls to write will append to the log.\n\n        RETURN:\n        int; a unique ID to reference the log.\n        '
    log_id = self._num_logs
    self._logs[log_id] = []
    self._num_logs += 1
    return log_id

dataset/ETHPy150Open Cal-CS-61A-Staff/ok-client/client/utils/output.py _OutputLogger.new_log/original