def announce(self, msg, level=1): """If the current verbosity level is of greater than or equal to 'level' print 'msg' to stdout. """ log.log(level, msg)
def announce(self, msg, level=log.INFO): log.log(level, msg)