Skip to content

Instantly share code, notes, and snippets.

@daniDLL
Last active September 24, 2020 08:13
Show Gist options
  • Save daniDLL/6a9c4984ef8ac5a2fb20bc1330b3febc to your computer and use it in GitHub Desktop.
Save daniDLL/6a9c4984ef8ac5a2fb20bc1330b3febc to your computer and use it in GitHub Desktop.
Mage::log M2 (FOR DEVELOPMENT PURPOSE!!!)
\Magento\Framework\App\ObjectManager::getInstance()
->get(\Psr\Log\LoggerInterface::class)->info('message');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment