them all up in one shot)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@145
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
+2004-07-03
+ - Create a new log channel tbx containing dict, set, log, dynar (to shut
+ them all up in one shot)
#include "gras_private.h" /* prototypes of this module */
#include "gras_private.h" /* prototypes of this module */
-GRAS_LOG_NEW_DEFAULT_CATEGORY(config);
+GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(config,tbx);
/* gras_cfgelm_t: the typedef corresponding to a config cell.
/* gras_cfgelm_t: the typedef corresponding to a config cell.
-GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(dict,GRAS);
+GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(dict,tbx);
/*####[ Private prototypes ]#################################################*/
/*####[ Private prototypes ]#################################################*/
#include "gras_private.h"
#include "gras_private.h"
-
-GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(dynar,GRAS);
+GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(dynar,tbx);
struct gras_dynar_s {
size_t size;
struct gras_dynar_s {
size_t size;
NULL, 0
};
GRAS_LOG_NEW_SUBCATEGORY(GRAS,GRAS_LOG_ROOT_CAT);
NULL, 0
};
GRAS_LOG_NEW_SUBCATEGORY(GRAS,GRAS_LOG_ROOT_CAT);
-GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(log,GRAS);
+GRAS_LOG_NEW_SUBCATEGORY(tbx,GRAS);
+GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(log,tbx);
static void _apply_control(gras_log_category_t* cat) {
static void _apply_control(gras_log_category_t* cat) {
#include "gras_private.h"
#include "gras_private.h"
-GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(set,GRAS);
+GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(set,tbx);
/*####[ Type definition ]####################################################*/
struct gras_set_ {
/*####[ Type definition ]####################################################*/
struct gras_set_ {