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

Feature/1 logging improvement #7

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Conversation

albertviilik
Copy link
Owner

  • Adjusted the logging levels to be appropriate.
  • Made logs more informative.
  • Removed unnecessary logs.

The logging level for sending a GET request, adding headers to the request, and successful requests in the NetworkService class have been changed from info to debug level. This change will ensure that these actions are only logged under debug settings, reducing the volume of logs under normal circumstances.
The logging levels and messages in `TheOddsApi` class have been adjusted to increase clarity and informativeness. Furthermore, the `JsonSyntaxException` has been imported for potential future use. The changes mainly transition `info` level logging messages to `debug` level with more descriptive messaging, providing better visibility during debugging.
@albertviilik albertviilik added the enhancement New feature or request label Feb 22, 2024
@albertviilik albertviilik linked an issue Feb 22, 2024 that may be closed by this pull request
@albertviilik albertviilik merged commit 3975c31 into main Feb 22, 2024
@albertviilik albertviilik deleted the feature/1-logging-improvement branch February 22, 2024 22:20
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.

Logging Improvement
2 participants