6 /* Returns c-string "s" if n > 1, empty string "" otherwise. */
7 #define ESSE(n) (misc::str_esse + ((n) <= 1))
10 extern const char str_esse[];
13 /* Returns true if the given priority is enabled for the default
14 * category. Priority is xbt_log_priority_SUFFIX, where SUFFIX may
15 * be: trace, debug, verbose, info, warning, error, critical.
17 #define LOG_ISENABLED(priority) \
18 (_XBT_LOG_ISENABLEDV((*_XBT_LOGV(default)), (priority)))
20 /* Defines XBT_XCLOG(...) which behave like XBT_CLOG(...), except that the
21 * given category is not passed through _XBT_LOGV before use.
23 #define XBT_XCLOG(c, p, ...) XBT_CLOG((*(c)), p, __VA_ARGS__)