def SetElementLoggingLevel(self, argin):
     # PROTECTED REGION ID(SKALogger.SetElementLoggingLevel) ENABLED START #
     """
     A method to set Element logging level of source device.
     """
     element_logging_level = argin[0][:]
     element_logging_device = argin[1][:]
     i = 0
     while i < len(element_logging_level[:]):
         self.info_stream("Element Logging level : %s, Device : %s",
                          element_logging_level[i],
                          element_logging_device[i])
         dev_proxy = DeviceProxy(element_logging_device[i])
         dev_proxy.elementLoggingLevel = element_logging_level[i]
         i += 1
 def SetElementLoggingLevel(self, element_devices_and_levels):
     ElementLoggingLevel = element_devices_and_levels[0][:]
     ElementLoggingDevice = element_devices_and_levels[1][:]
     i = 0
     while i < len(ElementLoggingLevel[:]):
         self.info_stream("%s,%s", ElementLoggingLevel[i],
                          ElementLoggingDevice[i])
         dev1 = DeviceProxy(ElementLoggingDevice[i])
         dev1.elementLoggingLevel = ElementLoggingLevel[i]
         property_names = [
             "logging_level",
             "logging_target",
         ]
         dev_properties = dev1.get_property(property_names)
         dev_properties["logging_level"] = ["DEBUG"]
         dev_properties["logging_target"].append(
             "device::ellogger/elem/elem1")
         dev1.put_property(dev_properties)
         dev1.add_logging_target("device::ellogger/elem/elem1")
         i += 1