error log

  1. A

    Global error logging method

    Hi I am working on a .NET 4.0 console application. I want to capture the error that occurs while running the application and write to a Log file. (Log_Datetime.txt) Log file has to be created for every day. How to check if log file for that day has already been created? If log file is not...