Magento 2 Logging to a custom file

Logging variables or custom messages to a custom file are usually used in every development of building websites. In Magento 1, it was common to segment logs into different files (to separate logs for 3rd party extensions etc.). That’s as easy as changing the $file parameter of Mage::log. But in magento … Continue reading Magento 2 Logging to a custom file