How to write log to custom files in Magento 2

Likes (2)   Dislikes (0)  
  (2 reviews)

Logging is a very important aspect of any programming language. Logs help us debug our code and finally identify issues in it. We do write logs to keep track of things, to debug our code and to report errors in any programming language. Magento 2 provided us a great logging library from PSR. But this