Use in logging

suggest change

When configuring the built-in logging functionality, a common pattern is to create a logger with the __name__ of the current module:

logger = logging.getLogger(__name__)

This means that the fully-qualified name of the module will appear in the logs, making it easier to see where messages have come from.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents