Generate log after every 2 secs
<p>HI,</p>

<p>I have developed a library in c++ which used to keep track of new and delete operator and generate logs for the same. Now i have to add one more functionality that will generate logs for new and delete after 2 secs and everey 2 secs it will refresh the log file. so that if the main program gets core dump then also we can have some logs to track memomy allocation. Any help woild be appreciated.</p>

<p>thanx in advance.</p>
