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: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:445990e5-868a-b043-1915-743926c05c29 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B75C:2AB445:33BED42:485A5AA:69711C04 |
| html-safe-nonce | 9fea92b13f0ab99f2a247188af4cfaf774b38e2448805583313d723f9ec6f3b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzVDOjJBQjQ0NTozM0JFRDQyOjQ4NUE1QUE6Njk3MTFDMDQiLCJ2aXNpdG9yX2lkIjoiNTE1NDU0MzMyOTY2NzM3OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ab124c618ec361af758233117c8561af185c334dd6fad787ae6a74e45e775d3 |
| 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 | 73ca43ac10b0f114fadc2d2cf702bc0c6453174aa5f9dad3a1d131b428870c6d |
| 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 | 8c16e50bde10edd19f5772e9b3804df6d7bf9bfe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width