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: May 8, 2019 9:53 AM
Views: 15
Tags: no tags
  1.  
  2. $logger = \Magento\Framework\App\ObjectManager::getInstance()->create(\Psr\Log\LoggerInterface::class);
  3.  
  4. $logger->error($e->getMessage());            
  5. $logger->error("TEST ERRRERRRR");