Add options for debug logging instead of manually commenting out `loginfo` or `print` statements as needed.