X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7410b72db09489e8b9d3ee3cb087f35882397d93..ef7a8652c1cdb50db293bc183fd6d6d80b60c9be:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 88f426d966..f76b348a16 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -477,8 +477,7 @@ Each category has an optional appender. An appender is a pointer to a structure which starts with a pointer to a do_append() function. do_append() prints a message to a log. -When a category is passed a message by one of the logging macros, the -category performs the following actions: +When a category is passed a message by one of the logging macros, the category performs the following actions: - if the category has an appender, the message is passed to the appender's do_append() function, @@ -630,7 +629,7 @@ static void xbt_log_connect_categories(void) XBT_LOG_CONNECT(mc_page_snapshot); XBT_LOG_CONNECT(mc_request); XBT_LOG_CONNECT(mc_safety); - XBT_LOG_CONNECT(mc_visited); + XBT_LOG_CONNECT(mc_VisitedState); XBT_LOG_CONNECT(mc_client); XBT_LOG_CONNECT(mc_client_api); XBT_LOG_CONNECT(mc_comm_pattern); @@ -1025,8 +1024,6 @@ static void _set_inherited_thresholds(xbt_log_category_t cat) _set_inherited_thresholds(child); } } - - } void xbt_log_threshold_set(xbt_log_category_t cat, e_xbt_log_priority_t threshold) @@ -1211,8 +1208,7 @@ void xbt_log_control_set(const char *control_string) return; } - /* Parse each entry and either use it right now (if the category was already - created), or store it for further use */ + /* Parse each entry and either use it right now (if the category was already created), or store it for further use */ xbt_dynar_foreach(set_strings, cpt, str) { xbt_log_category_t cat = NULL;