code: def get_log(self, log_type, size=0):
          
          return self.parent.get_worker_log(self.log_id, log_type, size=size)
docs: Get logs from worker.
  
          :param log_type: type of logs. Possible log types contains {log_types}
          :param size: length of the log to retrieve
          :return: log content