X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bd1d4d43b1cbdeec15247821932f6ca0971fd96..6ce033605df0be7e58fc5644d9b082ca8bc982f9:/src/xbt/log.c diff --git a/src/xbt/log.c b/src/xbt/log.c index 88f426d966..d0577f8f86 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -359,7 +359,6 @@ Here are the existing format directives: - %%l: location where the log event was raised (LOG4J compatible, like '%%F:%%L' -- this is a l as in 'l'etter) - %%L: line number where the log event was raised (LOG4J compatible) - %%M: function name (LOG4J compatible -- called method name here of course). - Defined only when using gcc because there is no __FUNCTION__ elsewhere. - %%b: full backtrace (Called %%throwable in LOG4J). Defined only under windows or when using the GNU libc because backtrace() is not defined @@ -477,8 +476,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 +628,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 +1023,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 +1207,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;