Please DO NOT use PRINT statements: Python Logging Tutorial

Sdílet
Vložit
  • čas přidán 2. 11. 2023
  • Python logging is critical when creating applications that scale. Python noobs use print, Python pros use logs.
    🎥 Python List Comprehension: • List Comprehension Pyt...
    🎥 Python Enumerate: • Enumerate Python Tutor...
    🎥 React + FastAPI: • How to build a React +...
    🎥 AWS Lambda + FastAPI: • Deploy FastAPI on AWS ...
    🎓 Courses can be found:
    FastAPI Beginner & Advanced: www.udemy.com/course/fastapi-...
    Learn Chatbot Development: www.udemy.com/course/the-comp...
    🛒 GEAR & RECOMMENDED BOOKS: kit.co/codingwithroby
    👨‍💻 Hi, I am Eric!👨‍💻
    Hey! I’m a seasoned developer and cloud enthusiast. I love sharing my knowledge and helping others to discover the exciting world of programming and cloud technologies. For more tutorials, tips, and tech magic, don’t forget to hit that subscribe button and ring the bell for notifications!
    🙏 Support The Channel 🙏
    If you found this tutorial helpful, please give it a thumbs up 👍, comment, and share it with your network 🌍
    PS: The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you.
    #python #programming #coding

Komentáře • 7

  •  Před 8 měsíci +6

    Dude, I took your FastAPI course on udemy and it was awesome. Thank you so much and keep up the good work.

  • @leokiller123able
    @leokiller123able Před 8 měsíci +1

    Personally I don't really like using the python logging module because it is badly designed and really verbose when you need specific funtionnalities, so i prefer writing my own logging module when needed or simply use print

    • @codingwithroby
      @codingwithroby  Před 8 měsíci +1

      Print may work for fast debugging but is not practical when you need to look at the logs on a server

  • @rexsybimatrimawahyu3292
    @rexsybimatrimawahyu3292 Před 8 měsíci +1

    Print for the W😂

  • @kerkpoweriraphahellfan5990
    @kerkpoweriraphahellfan5990 Před 8 měsíci

    inferior debugging.