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

Use python logging interface #175

Merged
merged 4 commits into from
May 3, 2020
Merged

Use python logging interface #175

merged 4 commits into from
May 3, 2020

Conversation

michaelarnauts
Copy link
Collaborator

@michaelarnauts michaelarnauts commented May 2, 2020

Use the python logging interface for logging. This makes it more easy to troubleshoot things during testing since all other python modules (like requests) also use this logging interface.

It also allows me to use less Kodi-stuff in the API files. I would like to have the API itself clear of any Kodi dependencies.

This change also moved the INFO level to the DEBUG level, as requested by the Kodi Add-on rules. This can be overridden by enabling the "Use debug logging" option in the settings for troubleshooting or during development.

This is one of the changes from #165

@michaelarnauts michaelarnauts marked this pull request as ready for review May 2, 2020 09:27
@michaelarnauts michaelarnauts merged commit cd708cd into master May 3, 2020
@michaelarnauts michaelarnauts deleted the logging branch May 3, 2020 14:56
@michaelarnauts michaelarnauts added the enhancement New feature or request label May 3, 2020
@michaelarnauts michaelarnauts removed the enhancement New feature or request label May 11, 2020
@michaelarnauts michaelarnauts added the enhancement New feature or request label Jun 19, 2020
@dagwieers dagwieers added this to the v1.1.0 milestone Aug 23, 2020
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.

None yet

2 participants