/**
* Return true if the category will log messages with priority @c
* LOG4C_PRIORITY_DEBUG.
*
* @param a_category the log4c_category_t object
* @returns Whether the category will log.
**/
#if !defined(_WIN32) && !defined(__HP_cc)
static inline int log4c_category_is_debug_enabled(const log4c_category_t* a_category)
{
return log4c_category_is_priority_enabled(a_category, LOG4C_PRIORITY_DEBUG);
}
#else
#define log4c_category_is_debug_enabled(a) \
(log4c_category_is_priority_enabled(a, LOG4C_PRIORITY_DEBUG))
#endif |