def log(message, verbosity=LOG_INFO):
    'Log a message to the console (stdout).'
    if (log_level < verbosity):
        return
    sys.stdout.write((str(message) + '\n'))
    sys.stdout.flush()
Log a message to the console (stdout).
def log(message, verbosity=LOG_INFO):
    
    if (log_level < verbosity):
        return
    sys.stdout.write((str(message) + '\n'))
    sys.stdout.flush()