Title: chore: add bare-minimum logging support by JohnVillalovos · Pull Request #2204 · python-gitlab/python-gitlab · GitHub
Open Graph Title: chore: add bare-minimum logging support by JohnVillalovos · Pull Request #2204 · python-gitlab/python-gitlab
X Title: chore: add bare-minimum logging support by JohnVillalovos · Pull Request #2204 · python-gitlab/python-gitlab
Description: Follow the Python documentation guidelines for "Configuring Logging for a Library" [1] Which is adding these two lines: import logging logging.getLogger(name).addHandler(logging.NullHandler()) Setup a very basic usage of logging in gitlab/client.py By using the NullHandler it means that by default any log messages output will not be displayed. It is up to the client application to do a logging.basicConfig() call to get log messages to display. [1] https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library Related: #2080
Open Graph Description: Follow the Python documentation guidelines for "Configuring Logging for a Library" [1] Which is adding these two lines: import logging logging.getLogger(name).addHandler(logging.NullHandl...
X Description: Follow the Python documentation guidelines for "Configuring Logging for a Library" [1] Which is adding these two lines: import logging logging.getLogger(name).addHandler(logging.N...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/pull/2204
X: @github
Domain: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:1f2bfa65-4f7b-2c66-4bb5-1bf91809287d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B81E:701B4:63683:7C89D:699279E0 |
| html-safe-nonce | 8238a75668f7d7a056f5bbb8a19dc032c6e6b9d8f93bbc1caf2701597d8f895d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODFFOjcwMUI0OjYzNjgzOjdDODlEOjY5OTI3OUUwIiwidmlzaXRvcl9pZCI6IjQxNzc3NzU3MTc3ODA3MTYwMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c8c01ab70eff5523c9cb2d32880032ec7d0650317c516eaa6f040257cb22e7b9 |
| hovercard-subject-tag | pull_request:1012877364 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-gitlab/python-gitlab/pull/2204/checks |
| twitter:image | https://avatars.githubusercontent.com/u/578155?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/578155?s=400&v=4 |
| og:image:alt | Follow the Python documentation guidelines for "Configuring Logging for a Library" [1] Which is adding these two lines: import logging logging.getLogger(name).addHandler(logging.NullHandl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git |
| octolytics-dimension-user_id | 28886265 |
| octolytics-dimension-user_login | python-gitlab |
| octolytics-dimension-repository_id | 8077625 |
| octolytics-dimension-repository_nwo | python-gitlab/python-gitlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8077625 |
| octolytics-dimension-repository_network_root_nwo | python-gitlab/python-gitlab |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width