'Append a job-level status event to self._reports_container. All
events will be written to TAP log files at the end of the test run.
Otherwise, it\'s impossilble to determine the TAP plan.
:param log_entry: A string status code describing the type of status
entry being recorded. It must pass log.is_valid_status to be
considered valid.
:param indent: Level of the log_entry to determine the operation if
log_entry.operation is not given.
:param log_files: List of full path of files the TAP report will be
written to at the end of the test.'

def record(self, log_entry, indent, log_files):

    for log_file in log_files:
        log_file_path = os.path.dirname(log_file)
        key = log_file_path.split(self.resultdir, 1)[1].strip(os.sep)
        if (not key):
            key = 'root'
        if (not self._reports_container.has_key(key)):
            self._reports_container[key] = []
        if log_entry.operation:
            operation = log_entry.operation
        elif (indent == 1):
            operation = 'job'
        else:
            operation = 'unknown'
        entry = self.tap_ok(JOB_STATUSES.get(log_entry.status_code, False), (len(self._reports_container[key]) + 1), (operation + '\n'))
        self._reports_container[key].append(entry)
