category.h(3) | log4c | category.h(3) |
category.h -
central class in the log4c package.
#include <stdio.h>
#include <stdarg.h>
#include <log4c/defs.h>
#include <log4c/priority.h>
#include <log4c/location_info.h>
#define log4c_category_define(a_category, a_name)
typedef struct __log4c_category log4c_category_t
LOG4C_API log4c_category_t * log4c_category_get
(const char *a_name)
LOG4C_API int log4c_category_list (log4c_category_t **a_cats,
int a_ncats)
LOG4C_API log4c_category_t * log4c_category_new (const char
*a_name)
LOG4C_API void log4c_category_delete (log4c_category_t
*a_category)
LOG4C_API const char * log4c_category_get_name (const
log4c_category_t *a_category)
LOG4C_API struct __log4c_appender * log4c_category_get_appender (const
log4c_category_t *a_category)
LOG4C_API int log4c_category_get_additivity (const
log4c_category_t *a_category)
LOG4C_API int log4c_category_get_priority (const
log4c_category_t *a_category)
LOG4C_API int log4c_category_get_chainedpriority (const
log4c_category_t *a_category)
LOG4C_API struct __log4c_appender * log4c_category_set_appender
(log4c_category_t *a_category, struct __log4c_appender *a_appender)
LOG4C_API int log4c_category_set_priority (log4c_category_t
*a_category, int a_priority)
LOG4C_API int log4c_category_set_additivity (log4c_category_t
*a_category, int a_additivity)
LOG4C_API void log4c_category_print (const log4c_category_t
*a_category, FILE *a_stream)
static int log4c_category_is_priority_enabled (const
log4c_category_t *a_category, int a_priority)
static int log4c_category_is_fatal_enabled (const
log4c_category_t *a_category)
static int log4c_category_is_alert_enabled (const
log4c_category_t *a_category)
static int log4c_category_is_crit_enabled (const
log4c_category_t *a_category)
static int log4c_category_is_error_enabled (const
log4c_category_t *a_category)
static int log4c_category_is_warn_enabled (const
log4c_category_t *a_category)
static int log4c_category_is_notice_enabled (const
log4c_category_t *a_category)
static int log4c_category_is_info_enabled (const
log4c_category_t *a_category)
static int log4c_category_is_debug_enabled (const
log4c_category_t *a_category)
static int log4c_category_is_trace_enabled (const
log4c_category_t *a_category)
static LOG4C_INLINE void log4c_category_log (const
log4c_category_t *a_category, int a_priority, const char
*a_format,...)
static LOG4C_INLINE void log4c_category_log_locinfo (const
log4c_category_t *a_category, const log4c_location_info_t
*a_locinfo, int a_priority, const char *a_format,...)
static LOG4C_INLINE void log4c_category_fatal (const
log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void log4c_category_alert (const
log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void log4c_category_crit (const
log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void log4c_category_error (const
log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void log4c_category_warn (const
log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void log4c_category_notice (const
log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void log4c_category_info (const
log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void log4c_category_debug (const
log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void __log4c_category_trace (const
log4c_category_t *a_category, const char *a_format,...)
central class in the log4c package.
One of the distintive features of log4j (and hence log4c) are hierarchical categories and their evaluation.
Parameters:
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_TRACE.
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_ALERT.
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_CRIT.
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_DEBUG.
Parameters:
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_ERROR.
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_FATAL.
Parameters:
Bug
Parameters:
Returns:
Parameters:
Returns:
Parameters:
Todo
References LOG4C_PRIORITY_NOTSET, and LOG4C_PRIORITY_UNKNOWN.
Parameters:
Returns:
Parameters:
Returns:
References LOG4C_PRIORITY_UNKNOWN.
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_INFO.
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_ALERT.
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_CRIT.
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_DEBUG.
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_ERROR.
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_FATAL.
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_INFO.
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_NOTICE.
Parameters:
Returns:
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_TRACE.
Parameters:
Returns:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_WARN.
Parameters:
Returns:
Parameters:
References log4c_category_is_priority_enabled().
Parameters:
References log4c_category_is_priority_enabled().
Parameters:
Returns:
Warning:
References LOG4C_PRIORITY_NOTSET.
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_NOTICE.
Parameters:
Parameters:
Returns:
Parameters:
Returns:
Todo
Parameters:
Returns:
References LOG4C_PRIORITY_UNKNOWN.
Parameters:
References log4c_category_is_priority_enabled(), and LOG4C_PRIORITY_WARN.
Generated automatically by Doxygen for log4c from the source code.
Mon May 2 2011 | Version 1.2.1 |