title: Write PHP logs in my application log file
body: <p>I'm developing a php application and I have created logging feature for it. I mean everytime that something wents wrong I write it in my log file so if an user reports a bug, I can use my log file to trace that bug.</p>
  
  <p>The problem is that if I upload my project on production server, I have to disable PHP's default error display; I just want to log php errors inside my own log file alongside of webserver's 'error.log'. Is there any way so I can do that?</p>