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

Use rich for logging instead of loguru #753

Merged
merged 5 commits into from
Nov 15, 2022
Merged

Use rich for logging instead of loguru #753

merged 5 commits into from
Nov 15, 2022

Conversation

ma-sadeghi
Copy link
Member

We've already done this in OpenPNM and it's been a satisfactory experience. The most significant advantage of rich over others including loguru is that it can automagically format the logs in a table format, taking care of indentation, word wrapping, etc. Also, it works directly with Python's built-in logging.

@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Merging #753 (a3d17f9) into dev (4b10852) will increase coverage by 0.0%.
The diff coverage is 96.3%.

Additional details and impacted files
@@          Coverage Diff          @@
##             dev    #753   +/-   ##
=====================================
  Coverage   83.8%   83.9%           
=====================================
  Files         36      36           
  Lines       4039    4057   +18     
=====================================
+ Hits        3387    3405   +18     
  Misses       652     652           

@ma-sadeghi ma-sadeghi merged commit 1ccbf7f into dev Nov 15, 2022
@ma-sadeghi ma-sadeghi deleted the rich_logger branch November 15, 2022 02:19
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.

None yet

1 participant