<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def log_if(level, msg, condition, *args):
 """Logs 'msg % args' at level 'level' only if condition is fulfilled."""

  if condition:
    log(level, msg, *args)