Proper way to constantly log to file - C#