def generate_status(self):
        try:
            self.__lock.acquire()
            self.__removed_closed_processors()

            result = LogMatcherStatus()
            result.log_path = self.log_path
            result.is_glob = self.__is_glob
            result.last_check_time = self.__last_check

            for processor in self.__processors:
                result.log_processors_status.append(processor.generate_status())

            return result
        finally:
            self.__lock.release()
:param field: a single field with which to marshal the output.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogMatcher.generate_status--crossover with--dataset/ETHPy150Open noirbizarre/flask-restplus/flask_restplus/marshalling.py/marshal_with_field.__init__