def METHOD_NAME(self, log_hook):
    try:
        file_path = os.path.join(self.sysinfo_dir, log_hook.name)
        for data in log_hook.collect():
            self.queue.put(messages.FileMessage.get(data, file_path))
    except sysinfo_collectible.CollectibleException as e:
        self.queue.put(messages.LogMessage.get(e.args[0]))
    except Exception as exc:  # pylint: disable=W0703
        self.queue.put(
            messages.StderrMessage.get(
                f"Collection " f"{type(log_hook)} " f"failed: {exc}"
            )
        )