Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Valery Smolyakov
Added: Nov 6, 2018 11:31 AM
Modified: Nov 6, 2018 11:31 AM
Views: 2
Tags: no tags
  1.         $response = $this->_curl->getResponse();
  2.          $logger = \Magento\Framework\App\ObjectManager::getInstance()->create(\Psr\Log\LoggerInterface::class);
  3.              ob_start();
  4.   var_dump($response);
  5.   $content = ob_get_contents();
  6.             $logger->error($content);            
  7.             $logger->error("TEST ERRRERRRR");