Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare the logging for DataConfig #103

Merged
merged 9 commits into from
Jun 19, 2023

Conversation

Louis-Dupont
Copy link
Contributor

@Louis-Dupont Louis-Dupont commented Jun 19, 2023

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

Copy link
Contributor

@ofrimasad ofrimasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ofrimasad ofrimasad merged commit 36e8264 into master Jun 19, 2023
@ofrimasad ofrimasad deleted the feature/SG-845-refacto_log_writer_for_dataconfig branch June 19, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants