Share Share on Facebook Share on Twitter Pinterest Email $writer = new \Zend_Log_Writer_Stream(BP . '/var/log/custom.log'); $logger = new \Zend_Log(); $logger->addWriter($writer); $logger->info(print_r($jsLayoutConfig, true)); 0 Siddharth Shukla Website Related Posts Warning: SessionHandler::read(): Magento 2 September 14, 2022 How to use GraphQl urlResolver query in Magento: September 13, 2022 How to get a custom variable into a phtml file? September 7, 2022 How to Get Current URL in Magento 2? September 1, 2022 Write A Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.