Python Module logging Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:


==Logger Hierarchy==
==Logger Hierarchy==
If the logger name contains dot characters, they separate levels of a hierarchy. Closer to the left, the higher the logger in the logger hierarchy. At the top of the hierarchy there's a [[#The_root_logger|root logger]].


===The root Logger===
===The root Logger===
   
   
At the top of the logger hierarchy, there  is a special root logger, called ''.
At the top of the logger hierarchy, there  is a special root logger, called ''.

Revision as of 04:13, 7 July 2022

Internal

Logger

Logger Hierarchy

If the logger name contains dot characters, they separate levels of a hierarchy. Closer to the left, the higher the logger in the logger hierarchy. At the top of the hierarchy there's a root logger.

The root Logger

At the top of the logger hierarchy, there is a special root logger, called .