Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
335 stars 103 forks source link

Added console logger and refactored some logs #1388

Closed gavin-aguiar closed 8 months ago

gavin-aguiar commented 9 months ago

Description

Added a console logger so that customers can directly see the error message while deploying a function app.

Sample output: ** image

**

Fixes #


PR information

Quality of Code and Contribution Guidelines

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0b21dc0) 85.28% compared to head (72aeef0) 85.47%. Report is 3 commits behind head on dev.

:exclamation: Current head 72aeef0 differs from pull request most recent head 8319dac. Consider uploading reports for the commit 8319dac to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #1388 +/- ## ========================================== + Coverage 85.28% 85.47% +0.18% ========================================== Files 35 35 Lines 1971 1969 -2 Branches 371 370 -1 ========================================== + Hits 1681 1683 +2 + Misses 217 213 -4 Partials 73 73 ``` | [Flag](https://app.codecov.io/gh/Azure/azure-functions-python-worker/pull/1388/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/Azure/azure-functions-python-worker/pull/1388/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure) | `85.42% <100.00%> (+0.18%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Azure#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.