Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow the unit tests to setup the logs
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 12 May 2017 20:48:44 +0000 (22:48 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 12 May 2017 20:48:44 +0000 (22:48 +0200)
include/xbt/log.h
src/xbt_modinter.h

index 3ec9eb4..a6be428 100644 (file)
@@ -321,6 +321,7 @@ XBT_PUBLIC(xbt_log_appender_t) xbt_log_appender2_file_new(char *arg,int roll);
 /* ********************************** */
 /* Functions that you shouldn't call  */
 /* ********************************** */
 /* ********************************** */
 /* Functions that you shouldn't call  */
 /* ********************************** */
+XBT_PUBLIC(void) xbt_log_init(int *argc, char **argv);
 XBT_PUBLIC(void) _xbt_log_event_log(xbt_log_event_t ev, const char *fmt, ...) XBT_ATTRIB_PRINTF(2, 3);
 XBT_PUBLIC(int) _xbt_log_cat_init(xbt_log_category_t category, e_xbt_log_priority_t priority);
 
 XBT_PUBLIC(void) _xbt_log_event_log(xbt_log_event_t ev, const char *fmt, ...) XBT_ATTRIB_PRINTF(2, 3);
 XBT_PUBLIC(int) _xbt_log_cat_init(xbt_log_category_t category, e_xbt_log_priority_t priority);
 
index e0240df..f76b1a6 100644 (file)
@@ -14,7 +14,6 @@ SG_BEGIN_DECL()
 /* Modules definitions */
 
 void xbt_log_preinit(void);
 /* Modules definitions */
 
 void xbt_log_preinit(void);
-void xbt_log_init(int *argc, char **argv);
 void xbt_log_postexit(void);
 
 void xbt_dict_preinit(void);
 void xbt_log_postexit(void);
 
 void xbt_dict_preinit(void);