Say goodbye to print() with the Python logging module

Example code demonstrating the use of the Python logging module

The logging module provides the capacity to create multiple logger objects each with different properties, allowing for flexibility over the routing of log messages. By using logging instead of print statements to provide feedback on the operation of our code we make it more maintainable and easier to home in on the specific information needed when investigating bugs.