From 3964b43f9eeaf7cbf65486d6cb6d4409b678cac6 Mon Sep 17 00:00:00 2001 From: mquinson Date: Tue, 8 Feb 2005 12:06:00 +0000 Subject: [PATCH] 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 --- src/xbt/log.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.20.1