 
 
   END LOOP;
-
-  log_var_list(i_var_list     => l_var_list);
-
+ 
+
+  log_new_var_list(i_old_var_list => i_var_list
+                  ,i_new_var_list => l_var_list);
+
+ 
   return l_var_list;
 
 EXCEPTION

    end loop;
  END;


--------------------------------------------------------------------
-- log_param_list - Log the param list


  
      end loop;


      --Compile this package spec and body with PLScope
      --Get a list of variables from the package spec
      l_var_list := get_vars_from_compiled_object(i_name     => p_package_name
                                                 ,i_owner    => l_owner 
                                                 ,i_type     =>  'PACKAGE'
                                                 ,i_var_list => l_var_list   );

      --Get a list of variables from the package body
      l_var_list := get_vars_from_compiled_object(i_name     => p_package_name
                                                 ,i_owner    => l_owner 
                                                 ,i_type     =>  'PACKAGE BODY' 
                                                 ,i_var_list => l_var_list   );

 

