-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
Changed Formatting for the logger based on Log Level #1710
Conversation
Before a pull request is accepted, it must meet the following criteria:
|
1 similar comment
Before a pull request is accepted, it must meet the following criteria:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explained some of the changes done in this PR.
Codecov Report
@@ Coverage Diff @@
## master #1710 +/- ##
==========================================
- Coverage 62.65% 61.89% -0.77%
==========================================
Files 65 63 -2
Lines 6036 5855 -181
==========================================
- Hits 3782 3624 -158
+ Misses 2254 2231 -23
Continue to review full report at Codecov.
|
5ee178f
to
4594c21
Compare
9fb1795
to
4a4c337
Compare
4a4c337
to
ade2f2f
Compare
@@ -164,7 +164,7 @@ def from_hdf(cls, fname=None): | |||
try: | |||
dataframes[name] = store[name] | |||
except KeyError: | |||
logger.debug("Dataframe does not contain NAME column") | |||
logger.debug(f"Dataframe does not contain {name} column") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andrewfullard @Rodot- This change needs to be merged. What should be done here? The PR will remain Draft.
ade2f2f
to
5c6842e
Compare
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
fc2a451
to
5c6842e
Compare
Removed redundant \n\t formatting from existing messages
5c6842e
to
82b1e79
Compare
This PR aims to add Logging Formatting based on log level. Debug Level has different formatting due to the number of messages that would be printed to the
strerr
. All other logging level follow the existing formatting (with the\n\t
formatting).Description
Motivation and context
How has this been tested?
Examples
Type of change
Checklist