Pythonic implementation of quiet / verbose flag for functions,logging.basicConfig(level=logging.INFO)