June 2019
Beginner to intermediate
770 pages
19h 24m
English
The logging module is defined in a way that avoids manually managing the global state information. The global state is handled within the logging module. We can write applications in separate parts and be well assured that those components will cooperate properly through the logging interface. We can, for example, include logging in some modules and omit it entirely from other modules without worrying about the compatibility or configuration.
Most importantly, we can include logging requests throughout an application and never configure any handlers. A top-level main script can omit import logging entirely. In this case, logging is a stand-by feature, ready for use when needed for debugging. ...
Read now
Unlock full access