#undef GRAS_LOG_MAYDAY
/*#define GRAS_LOG_MAYDAY*/
-
#ifndef _GRAS_LOG_H_
#define _GRAS_LOG_H_
#include <stdarg.h>
+#include "xbt/sysdep.h"
+
/**
* gras_log_priority_t:
* @gras_log_priority_none: used internally (don't poke with)
* (used by macros that don't explicitly specify a category).
*/
#define GRAS_LOG_NEW_DEFAULT_CATEGORY(cname,desc) \
- GRAS_LOG_NEW_CATEGORY(cname,desc) \
+ GRAS_LOG_NEW_CATEGORY(cname,desc); \
GRAS_LOG_DEFAULT_CATEGORY(cname)
/**
/* Functions you may call */
-extern gras_error_t gras_log_control_set(const char* cs);
+extern void gras_log_control_set(const char* cs);
/* Forward declarations */
typedef struct gras_log_appender_s gras_log_appender_t;