Skip to content

Instantly share code, notes, and snippets.

@ivanweiler
Last active August 10, 2016 13:39
Show Gist options
  • Save ivanweiler/ce97bbf356529c551b1e9930fdffcdc5 to your computer and use it in GitHub Desktop.
Save ivanweiler/ce97bbf356529c551b1e9930fdffcdc5 to your computer and use it in GitHub Desktop.
Mage::log
\Magento\Framework\App\ObjectManager::getInstance()
->get('\Psr\Log\LoggerInterface')
->debug(print_r($a, true));
//var/log/debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment