title: Zend Framework 2 Zend/Log Logger
body: <p>I try to create log file with Zend Framework 2. I found the solution by using Zend\Log\Logger and Zend\Log\Writer\Stream. In fact, it works fine. But the problem is that I need to use that code in every action method and in every controller class.</p>
  
  <p>Does anybody know how to create log file for the whole website WITHOUT writing the same code in every action method and in every controller class? Thank you for your answer!</p>