Magento 2 : How to add a logging function when debugging
When debugging, it might be necessary to add some logs.Here is a simple way to add a logging function in your code.Warning :This is not supposed to stay in your code and is only for debugging purpose.There are better and …