Web Analytics

Fill the form & Get Installation Support





    How to print log with new custom file in Magento 2?

    If you want to print your code log in the custom log file, then use the below mention code to print the log in the custom log file.

    That’s it.

    Refresh your page and see your custom log file in Magento /var/log directory. Hope that helps.

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Hire R. Patel

      Get a Free Quote





        Connect With Us