We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the switch to click, we can now provide better output:
click
class Colors: SUCCESS = "\033[92m" STATUS = "\033[94m" WARNING = "\033[93m" ERROR = "\033[91m" BOLD = "\033[1m" END = "\033[0m" def _print(color, message): timestamp = datetime.datetime.now().strftime("%H:%M:%S") click.echo(f"{color}{Colors.BOLD}[{timestamp}]{Colors.END} {message}")
The text was updated successfully, but these errors were encountered:
Hello, @mcopik
May I work on this issue? Thank you so much :D
Sorry, something went wrong.
@lawrence910426 Go ahead! :-)
[system] Colored output (issues #65) (#141)
518fbbf
* feat: implement color wrapper * feat: replace logging with colored printer * fix: output to logging * fix: stop output to stdout * Revert "fix: stop output to stdout" This reverts commit cf7209b. * fix: revert intercepting on sebs.py * feat: move color to utils.py * feat: miliseconds * feat: intercept @ logging base * fix: rename vars to avoid conflict * fix: remove legacy output * fix: legacy imports * fix: wrong return type * fix: mypy precedence * fix: mypy precedence * fix: change precedence of colored printer * fix: define return signature * feat: colored wrapper * fix: update to single handler * fix: propagate only if file input exists * feat: metadata before main message
lawrence910426
No branches or pull requests
With the switch to
click
, we can now provide better output:The text was updated successfully, but these errors were encountered: