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

feat(core): add CLI EventHandler #226

Open
mhordynski opened this issue Dec 2, 2024 · 0 comments · May be fixed by #256
Open

feat(core): add CLI EventHandler #226

mhordynski opened this issue Dec 2, 2024 · 0 comments · May be fixed by #256
Assignees
Labels
feature New feature or request
Milestone

Comments

@mhordynski
Copy link
Member

mhordynski commented Dec 2, 2024

Feature description

A new CLIEventHandler would be responsible for logging all events from Ragbits in a human-readable way to the console. It is intended for use by engineers while developing or debugging their applications to enhance their observability into the system.

The handler should leverage rich library, utilizing colors, tables, and other formatting tools to ensure the output is as clean and readable as possible.

Motivation

Good feedback makes developing applications easier and more enjoyable.

Additional context

Ways to enable this handler:

  • directly by passing it to ragbits.core.audit.set_trace_handlers
  • from CLI by having global option --verbose / -v
  • by having RAGBITS_VERBOSE=1 environment variable
@mhordynski mhordynski added the feature New feature or request label Dec 2, 2024
@mhordynski mhordynski moved this to Backlog in ragbits Dec 2, 2024
@mhordynski mhordynski moved this from Backlog to Ready in ragbits Dec 2, 2024
@mhordynski mhordynski added this to the Ragbits 0.6 milestone Dec 2, 2024
@mhordynski mhordynski moved this from Ready to In Progress in ragbits Dec 5, 2024
@micpst micpst linked a pull request Dec 18, 2024 that will close this issue
@mhordynski mhordynski moved this from In Progress to In review in ragbits Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: In review
Development

Successfully merging a pull request may close this issue.

2 participants