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

Colored output for Streamflow Run #17

Merged

Conversation

paoloviviani
Copy link
Contributor

Added:

  • Pyhon-only colored logs implementation within log_handler.py
  • --color argument to enable it
  • Check tty support for colors, if not supported, reverts to normal logging.

@paoloviviani
Copy link
Contributor Author

paoloviviani commented Nov 13, 2022

Added revision of the logging string structure with status at the beginning of the string

Screenshot 2022-11-13 at 15 18 34

@paoloviviani
Copy link
Contributor Author

Screenshot 2022-12-28 at 20 36 10

Highlighted tokens behaviour correct for all log level and message type.

Copy link
Member

@GlassOfWhiskey GlassOfWhiskey left a comment

Choose a reason for hiding this comment

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

LGTM

@GlassOfWhiskey GlassOfWhiskey merged commit 3ed5d41 into alpha-unito:master Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants