Python logging tutorial: __name__ and logger inheritance

preview_player
Показать описание
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 --

Рекомендации по теме
Комментарии
Автор

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.

MartinBernardoMeza
Автор

Hiw do you use this when you have classes? I want each class to have a logger that points back to the original logger.

jvapr
Автор

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

djangodeveloper
join shbcf.ru