PPOPT
PPOPT copied to clipboard
Add logging
Replaces some of the print statements with logging. This should allow users to configure their verbosity level in their scripts/applications. I made educated guesses about the levels of each call (ERROR, DEBUG, INFO) but you should modify them as you see fit.