Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill defaultlog
[simgrid.git] / src / xbt / module.c
index 0a18cf8..a79815f 100644 (file)
@@ -27,36 +27,22 @@ struct xbt_module_ {
   xbt_module_finalize_fct_t finalize;
 };
 
+/** @brief Initialize the xbt mechanisms. */
 void 
 xbt_init(int *argc, char **argv) {
-  xbt_init_defaultlog(argc, argv, NULL);
-}
-
-/**
- * xbt_init_defaultlog:
- * @argc:
- * @argv:
- *
- * Initialize the xbt mecanisms.
- */
-void
-xbt_init_defaultlog(int *argc,char **argv, const char *defaultlog) {
   static short int first_run = 1;
   if (!first_run)
     return;
   
   first_run = 0;
-  INFO0("Initialize XBT");
+  VERB0("Initialize XBT");
   
-  xbt_log_init(argc,argv,defaultlog);
+  xbt_log_init(argc,argv);
 }
 
-/**
- * xbt_exit:
- *
- * Finalize the xbt mecanisms.
- */
+/** @brief Finalize the xbt mechanisms. */
 void 
 xbt_exit(){
   xbt_log_exit();
 }
+