def check_no_log_audit(logical_line):
 if no_audit_log.match(logical_line):
  (yield (0, 'C304: Found LOG.audit.  Use LOG.info instead.'))

def check_no_log_audit ( logical_line ) : if no_audit_log . match ( logical_line ) : ( yield ( 0 , 'C304: Found LOG.audit.  Use LOG.info instead.' ) )
ensure that we are not using log .