Add a basic logging with levels instead of the 'print' messages being used now.
Add a basic logging with levels instead of the 'print' messages being used now.