loading/saving cache of DataConfig (coming soon) requires a set of functions that we don't have. This is what I add in this PR.
I also took it as an opportunity to abstract away the file logging into a single class, because the code was full of these logging attributes and method calls ... (this was becoming even worse with the newly required functions)
Note: Not sure about the name log_manager because it can be confused with the logger object, but it's not the same. I just could not come up with a better name, let me know if you have any idea
loading/saving cache of DataConfig (coming soon) requires a set of functions that we don't have. This is what I add in this PR.
I also took it as an opportunity to abstract away the file logging into a single class, because the code was full of these logging attributes and method calls ... (this was becoming even worse with the newly required functions)
Note: Not sure about the name
log_manager
because it can be confused with thelogger
object, but it's not the same. I just could not come up with a better name, let me know if you have any idea