How do i save logs in php
<p>How do i save logs in PHP? Is there any "magical" function available in php for doing so, or any library? Or should i have to <code>fopen</code> file everytime and dump in it? I want to save my logs in text file.</p>

<p>Thanks in advance :)</p>
