I was looking for ways to help your logging problem when I stumbled across this really cool library called loguru. It allows for efficient logging (the method you were using could cause issues, since you open/close the file on every log). Furthermore, loguru allows for time-based and space-based deletion! I think this library will be perfect for your needs.
Hey Ali,
I was looking for ways to help your logging problem when I stumbled across this really cool library called loguru. It allows for efficient logging (the method you were using could cause issues, since you open/close the file on every log). Furthermore, loguru allows for time-based and space-based deletion! I think this library will be perfect for your needs.