From: mquinson Date: Tue, 8 Feb 2005 12:06:00 +0000 (+0000) Subject: cosmetics on log categories declaration; declare a MSG category here since MSG fails... X-Git-Tag: v3.3~4443 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3964b43f9eeaf7cbf65486d6cb6d4409b678cac6 cosmetics on log categories declaration; declare a MSG category here since MSG fails to do so itself >:-) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@908 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/log.c b/src/xbt/log.c index b7ec9022e7..753448d352 100644 --- a/src/xbt/log.c +++ b/src/xbt/log.c @@ -344,8 +344,9 @@ s_xbt_log_category_t _XBT_LOGV(XBT_LOG_ROOT_CAT) = { NULL, 0 }; -XBT_LOG_NEW_SUBCATEGORY(xbt,XBT_LOG_ROOT_CAT,"All XBT categories (simgrid toolbox)"); -XBT_LOG_NEW_SUBCATEGORY(surf,XBT_LOG_ROOT_CAT,"All SURF categories"); +XBT_LOG_NEW_CATEGORY(xbt,"All XBT categories (simgrid toolbox)"); +XBT_LOG_NEW_CATEGORY(surf,"All SURF categories"); +XBT_LOG_NEW_CATEGORY(msg,"All MSG categories"); XBT_LOG_NEW_DEFAULT_SUBCATEGORY(log,xbt,"Loggings from the logging mecanism itself"); void xbt_log_init(int *argc,char **argv, const char *defaultlog) {