public function process()
 {
     $result = parent::process();
     foreach ($this->messages as $message) {
         $priority = Ess_M2ePro_Model_Log_Abstract::PRIORITY_MEDIUM;
         if ($message[parent::MESSAGE_TYPE_KEY] == parent::MESSAGE_TYPE_ERROR) {
             $priority = Ess_M2ePro_Model_Log_Abstract::PRIORITY_HIGH;
         }
         foreach ($this->listingsProducts as $product) {
             $this->getLogger()->logListingProductMessage($product, $message, $priority);
         }
     }
     if (!isset($result['result'])) {
         return $result;
     }
     foreach ($result['result'] as $listingProductId => $listingsProductResult) {
         if (!isset($listingsProductResult['messages'])) {
             continue;
         }
         $listingProduct = $this->getListingProduct($listingProductId);
         foreach ($listingsProductResult['messages'] as $message) {
             $priority = Ess_M2ePro_Model_Log_Abstract::PRIORITY_MEDIUM;
             if ($message[parent::MESSAGE_TYPE_KEY] == parent::MESSAGE_TYPE_ERROR) {
                 $priority = Ess_M2ePro_Model_Log_Abstract::PRIORITY_HIGH;
             }
             $this->getLogger()->logListingProductMessage($listingProduct, $message, $priority);
         }
     }
     return $result;
 }
 public function process()
 {
     $result = parent::process();
     foreach ($this->messages as $message) {
         $priority = Ess_M2ePro_Model_Log_Abstract::PRIORITY_MEDIUM;
         if ($message[parent::MESSAGE_TYPE_KEY] == parent::MESSAGE_TYPE_ERROR) {
             $priority = Ess_M2ePro_Model_Log_Abstract::PRIORITY_HIGH;
         }
         $this->getLogger()->logListingProductMessage($this->listingProduct, $message, $priority);
     }
     return $result;
 }