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 How to disable forced redirects in magento April 26, 2022 How to send mail from magento2 in localhost April 4, 2022 How to change base URLs in Magento 2.3 and 2.4 March 30, 2022 How To Fix “Invalid parameter given. A valid $fileId[tmp_name] is expected” March 16, 2022 Write A Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.