Python logging tutorial: __name__ and logger inheritance

Sdílet
Vložit
  • čas přidán 21. 08. 2023
  • In this Python logging tutorial, let's take a look at the _name_ (dunder name) variable, and how it can help us set up a logging system using in Python.
    -- Links --
    🐍 Our FastAPI Course: teclado.com/fastapi-101
    ✅ Subscribe to the channel: czcams.com/users/tecladocode?s...
  • Věda a technologie

Komentáře • 7

  • @antoineblasiak2623
    @antoineblasiak2623 Před 2 měsíci

    Thanks mate, very useful

  • @user-rs1il4ul8b
    @user-rs1il4ul8b Před 5 měsíci

    really helpful! The only thing that I think is missing is to clarify what is the convention about where to put the main logger configuration inside the project structure.

  • @djangodeveloper07
    @djangodeveloper07 Před 11 měsíci +4

    Try to provide real code examples instead of old school fashioned PPT stuff. looking forward for good videos

    • @tecladocode
      @tecladocode  Před 11 měsíci

      Most of the time, coding examples are the way to go! Sometimes though, they’re not. This is one of those occasions where relationships between many entities make for diagrams being a more helpful option. Thanks for the feedback!

    • @djangodeveloper07
      @djangodeveloper07 Před 11 měsíci +1

      agree on that. but it would be more better if you do some real code as well. it will increase 2 to 3 minutes video time but it will be easy for new viewers. @@tecladocode

    • @tecladocode
      @tecladocode  Před 11 měsíci

      Yeah that’s true! This video was taken from our course, and in there it’s surrounded by quite a few live coding sessions where we implement the logging configuration in a real project 😁

  • @guadalupe9581
    @guadalupe9581 Před 9 měsíci

    Promo`SM