Skip to content

Enhance logging and stdin/stdout interface #164

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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

OdyAsh
Copy link
Collaborator

@OdyAsh OdyAsh commented Apr 3, 2025

  • Add enhanced logging with colorful output and detailed exception handling

  • Implement rich exception formatting with source code context

  • Add display of local variables in exception tracebacks

  • Improve stdio interface with streaming option for terminal usage

  • Add sample logging exception output (.png) for reference:

 - Add enhanced logging with colorful output and detailed exception handling
 - Implement rich exception formatting with source code context
 - Add display of local variables in exception tracebacks
 - Improve stdio interface with streaming option for terminal usage
- Add sample logging exception output for reference
Copy link

@waleedk-stockapp waleedk-stockapp left a comment

Choose a reason for hiding this comment

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

Have you looked at the python library rich? It does all of this stuff for you.

OdyAsh added 3 commits April 13, 2025 10:14
* Replace custom colorized formatter with Rich handler for improved readability and functionality.
* Add file-based logging with custom formatting tailored for VS Code compatibility.
* Introduce Rich traceback handler with enhanced exception details, including local variables.
* Simplify logging setup and ensure seamless integration with development mode features.
* Update `.gitignore` to exclude log files.
* Remove unused `sys` and `Optional` imports to clean up the code.
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.

2 participants