def log_if(level, msg, condition, *args):
    """Log 'msg % args' at level 'level' only if condition is fulfilled."""
    if condition:
        vlog(level, msg, *args)
def log_if(level, msg, condition, *args):
    """Log 'msg % args' at level 'level' only if condition is fulfilled."""
    if condition:
        vlog(level, msg, *args)
def log_if ( level , msg , condition , * args ) : if condition : vlog ( level , msg , * args )
Log 'msg % args' at level 'level' only if condition is fulfilled.
Log msg % args at level level only if condition is fulfilled .