M
Mark
Hi,
I have an app that uses a log file to log certain events. It writes to the
log file a few times per minute. Is it preferable to open the file when the
program starts and close it when it finishes? Or to open-write-close for
every new entry in the log? Is there any difference between these two
techniques (besides the flushing on close)?
Thanks,
Mark
I have an app that uses a log file to log certain events. It writes to the
log file a few times per minute. Is it preferable to open the file when the
program starts and close it when it finishes? Or to open-write-close for
every new entry in the log? Is there any difference between these two
techniques (besides the flushing on close)?
Thanks,
Mark