joshjaysalazar / IntelliCaster

An AI race commentator for iRacing
GNU General Public License v3.0
3 stars 0 forks source link

Logging is desperately needed #91

Open joshjaysalazar opened 3 months ago

joshjaysalazar commented 3 months ago

Is your feature request related to a problem? Please describe. Right now, no log file is being created while the program runs. This program is far past complicated enough to make it worthwhile to have a log file to help identify errors.

Describe the solution you'd like Use the logging library to create a log file with all important events logged to it, as well as exceptions.

Describe alternatives you've considered Other libraries could be used, if there's a better option for this application out there.

Additional context N/A

joshjaysalazar commented 3 months ago

For the reference of whoever works on this, here's the documentation for the logging library: https://docs.python.org/3/library/logging.html

I don't have any specific logging style in mind, but I think the more detail, the better.