Title: Replace print with logging by outring · Pull Request #679 · Shopify/shopify_python_api · GitHub
Open Graph Title: Replace print with logging by outring · Pull Request #679 · Shopify/shopify_python_api
X Title: Replace print with logging by outring · Pull Request #679 · Shopify/shopify_python_api
Description: WHY are these changes introduced? Fixes #678 Replacing raw print to stdout with logging to allow consuming applications decide how they want this data to be presented WHAT is this pull request doing? Replaced print with logging.Logger.exception. By default logging in Python prints all events with severity >= WARNING to the stdout/stderr so the existing behavior is maintained in general Checklist I have updated the CHANGELOG (if applicable) I have followed the Shopify Python guide
Open Graph Description: WHY are these changes introduced? Fixes #678 Replacing raw print to stdout with logging to allow consuming applications decide how they want this data to be presented WHAT is this pull request doin...
X Description: WHY are these changes introduced? Fixes #678 Replacing raw print to stdout with logging to allow consuming applications decide how they want this data to be presented WHAT is this pull request doin...
Opengraph URL: https://github.com/Shopify/shopify_python_api/pull/679
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2297fc90-5b4c-0f3f-65c7-45d1ec36e21e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E140:7AA76:4FD01B:6E0D6A:69695F7F |
| html-safe-nonce | bb5b714a9d109477a9c198da52a2771597c8fd7829740102b28eefe82aee91de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTQwOjdBQTc2OjRGRDAxQjo2RTBENkE6Njk2OTVGN0YiLCJ2aXNpdG9yX2lkIjoiMTAwNzQ3MDIxNDEwMzI2MTA1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0a8d1aefc07981b43a97693961a9b5122475ffee5ca427c9df6746e58ea53eb4 |
| hovercard-subject-tag | pull_request:1480193409 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/Shopify/shopify_python_api/pull/679/files |
| twitter:image | https://avatars.githubusercontent.com/u/150131?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/150131?s=400&v=4 |
| og:image:alt | WHY are these changes introduced? Fixes #678 Replacing raw print to stdout with logging to allow consuming applications decide how they want this data to be presented WHAT is this pull request doin... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/Shopify/shopify_python_api git https://github.com/Shopify/shopify_python_api.git |
| octolytics-dimension-user_id | 8085 |
| octolytics-dimension-user_login | Shopify |
| octolytics-dimension-repository_id | 2249127 |
| octolytics-dimension-repository_nwo | Shopify/shopify_python_api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2249127 |
| octolytics-dimension-repository_network_root_nwo | Shopify/shopify_python_api |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 669463fcc54773a88c1f5a44eef6b99a5504b9c7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width