-
Notifications
You must be signed in to change notification settings - Fork 117
[refactor] Refactor PrettyPrinter and enable colors in the general logger
#654
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
Conversation
- `PrettyPrinter` is now a proxy to the ReFrame's logger and takes particular care in formatting specially the progress output. It also prefixes errors and warnings with the program name. - The general framework logger is now also capable of colorizing its output. This allows errors and warnings to be colorized when logged from anywhere in the framework.
Codecov Report
@@ Coverage Diff @@
## master #654 +/- ##
=========================================
+ Coverage 91.68% 91.7% +0.02%
=========================================
Files 74 74
Lines 9256 9263 +7
=========================================
+ Hits 8486 8495 +9
+ Misses 770 768 -2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #654 +/- ##
==========================================
+ Coverage 91.68% 91.73% +0.05%
==========================================
Files 74 76 +2
Lines 9256 9302 +46
==========================================
+ Hits 8486 8533 +47
+ Misses 770 769 -1
Continue to review full report at Codecov.
|
PrettyPrinter and enable colors in the general loggerPrettyPrinter and enable colors in the general logger
PrettyPrinter and enable colors in the general loggerPrettyPrinter and enable colors in the general logger
9a86deb to
adf1e00
Compare
PrettyPrinter and enable colors in the general loggerPrettyPrinter and enable colors in the general logger
teojgo
left a comment
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.
lgtm
victorusu
left a comment
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.
lgtm
|
@victorusu Yeah, sure! I wanted to do that yesterday. |
PrettyPrinteris now a proxy to the ReFrame's logger and takes particular care in formatting specially the progress output.This is useful for #623.