Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces a unified approach to logger usage across the SDG framework. Previously, the logger was imported from different modules (
sdgx.log
), which led to inconsistencies and potential issues in logging management.This change centralizes the logger usage by importing it from a common utility module (
sdgx.utils
), ensuring a consistent logging approach throughout the codebase.Motivation and Context
By centralizing the logger in a utility module, we simplify maintenance, enhance readability, and ensure that all logging operations follow a consistent pattern.
This change also paves the way for future enhancements in logging, such as adding context-specific logging or integrating advanced logging features without the need for extensive code modifications.
How has this been tested?
The changes have been tested through automated unit tests to ensure that the logging functionality remains intact and operates as expected.
Types of changes
Checklist: