Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
__FUNCTION__ is now in the standard
[simgrid.git] / src / xbt / log.c
index 88f426d..d0577f8 100644 (file)
@@ -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;