def SetStorageLoggingLevel(self, storages): StorageLoggingLevel = storages[0][:] StorageLoggingDevice = storages[1][:] i = 0 while i < len(StorageLoggingLevel[:]): self.info_stream("%s,%s", StorageLoggingLevel[i], StorageLoggingDevice[i]) dev1 = DeviceProxy(StorageLoggingDevice[i]) dev1.storageLoggingLevel = StorageLoggingLevel[i] i += 1
def SetStorageLoggingLevel(self, argin): # PROTECTED REGION ID(SKALogger.SetStorageLoggingLevel) ENABLED START # """ A method to set Storage logging level of source device. """ storage_logging_level = argin[0][:] storage_logging_device = argin[1][:] i = 0 while i < len(storage_logging_level[:]): self.info_stream("Storage logging level : %s, Device : %s", storage_logging_level[i], storage_logging_device[i]) dev_proxy = DeviceProxy(storage_logging_device[i]) dev_proxy.storageLoggingLevel = storage_logging_level[i] i += 1