Skip to content

Enhance console object functionality and introduce logging modes #273

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

trheyi
Copy link
Contributor

@trheyi trheyi commented Apr 4, 2025

  • Updated the Console object to support different logging modes: production and development.
  • Implemented methods for logging, warning, error, and info, with conditional output based on the mode.
  • Added tests to verify console behavior in both development and production modes.
  • Refactored console methods to improve code organization and clarity.
  • Updated the context and runner implementations to utilize the new console mode feature.

- Updated the Console object to support different logging modes: production and development.
- Implemented methods for logging, warning, error, and info, with conditional output based on the mode.
- Added tests to verify console behavior in both development and production modes.
- Refactored console methods to improve code organization and clarity.
- Updated the context and runner implementations to utilize the new console mode feature.
@trheyi trheyi merged commit b9f49ba into YaoApp:main Apr 4, 2025
1 of 2 checks passed
Copy link

github-actions bot commented Apr 4, 2025

Thank you for the PR! The test workflow ( GO:1.23.0 DB:SQLite3 Redis:6 ) is running, the results of the run will be commented later.

Copy link

github-actions bot commented Apr 4, 2025

Thank you for the PR! The test workflow ( GO:1.23.0 DB:MySQL8.0 Redis:5 ) is running, the results of the run will be commented later.

Copy link

github-actions bot commented Apr 4, 2025

Thank you for the PR! The test workflow ( GO:1.23.0 DB:SQLite3 Redis:4 ) is running, the results of the run will be commented later.

Copy link

github-actions bot commented Apr 4, 2025

Thank you for the PR! The test workflow ( GO:1.23.0 DB:SQLite3 Redis:5 ) is running, the results of the run will be commented later.

Copy link

github-actions bot commented Apr 4, 2025

Thank you for the PR! The test workflow ( GO:1.23.0 DB:MySQL8.0 Redis:6 ) is running, the results of the run will be commented later.

Copy link

github-actions bot commented Apr 4, 2025

Thank you for the PR! The test workflow ( GO:1.23.0 DB:MySQL8.0 Redis:4 ) is running, the results of the run will be commented later.

Copy link

github-actions bot commented Apr 4, 2025

✨DONE✨ GO:1.23.0 DB:SQLite3 Redis:6 passed.

Copy link

github-actions bot commented Apr 4, 2025

✨DONE✨ GO:1.23.0 DB:SQLite3 Redis:5 passed.

Copy link

github-actions bot commented Apr 4, 2025

✨DONE✨ GO:1.23.0 DB:MySQL8.0 Redis:5 passed.

Copy link

github-actions bot commented Apr 4, 2025

✨DONE✨ GO:1.23.0 DB:MySQL8.0 Redis:6 passed.

Copy link

github-actions bot commented Apr 4, 2025

✨DONE✨ GO:1.23.0 DB:MySQL8.0 Redis:4 passed.

Copy link

github-actions bot commented Apr 4, 2025

✨DONE✨ GO:1.23.0 DB:SQLite3 Redis:4 passed.

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.

1 participant