code: public static task_device_log get(nitro_service client, task_device_log resource) throws Exception
  	{
  		resource.validate("get");
  		return ((task_device_log[]) resource.get_resources(client))[0];
  	}
docs: Use this operation to get task log for each device.