def verbose(msg, host=None, caplevel=2): msg = utils.sanitize_output(msg) if utils.VERBOSITY > caplevel: if host is None: display(msg, color='blue') else: display("<%s> %s" % (host, msg), color='blue')
def verbose(msg, host=None, caplevel=2): msg = utils.sanitize_output(msg) if utils.VERBOSITY > caplevel: if host is None: display(msg, color='blue') else: display("<%s> %s" % (host, msg), color='blue')