Last active
January 8, 2024 10:07
-
-
Save kweij/2f6000d853b699859c4052cb0dbe3f78 to your computer and use it in GitHub Desktop.
Magento 2 quick logging snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\Magento\Framework\App\ObjectManager::getInstance()->get(\Psr\Log\LoggerInterface::class)->critical(\print_r([ | |
'value' => $value, | |
], true)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment