I would like to create a single log file for entire application. The log file name convection should includes date and time like this: MyLog_31122022_0915.log
Right now each class creates a new instance meaning a new log file. If I change the log file name convention, removing date and time, I get a single file, the problem is the the same file is used for each new run of the application.
How can it be done?