Logo Search packages:      
Sourcecode: log4c version File versions  Download package

category.h File Reference


Detailed Description

central class in the log4c package.

One of the distintive features of log4j (and hence log4c) are hierarchical categories and their evaluation.

Definition in file category.h.

#include <stdio.h>
#include <stdarg.h>
#include <log4c/defs.h>
#include <log4c/priority.h>
#include <log4c/location_info.h>

Go to the source code of this file.

Defines

#define log4c_category_define(a_category, a_name)
#define log4c_category_trace   __log4c_category_trace

Typedefs

typedef struct __log4c_category log4c_category_t

Functions

static LOG4C_INLINE void __log4c_category_trace (const log4c_category_t *a_category, const char *a_format,...)
LOG4C_API void __log4c_category_vlog (const log4c_category_t *a_category, const log4c_location_info_t *a_locinfo, int a_priority, const char *a_format, va_list a_args)
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_debug (const log4c_category_t *a_category, const char *a_format,...)
LOG4C_API void log4c_category_delete (log4c_category_t *a_category)
static LOG4C_INLINE void log4c_category_error (const log4c_category_t *a_category, const char *a_format,...)
static LOG4C_INLINE void log4c_category_fatal (const log4c_category_t *a_category, const char *a_format,...)
LOG4C_API log4c_category_tlog4c_category_get (const char *a_name)
LOG4C_API int log4c_category_get_additivity (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_chainedpriority (const log4c_category_t *a_category)
LOG4C_API const char * log4c_category_get_name (const log4c_category_t *a_category)
LOG4C_API int log4c_category_get_priority (const log4c_category_t *a_category)
static LOG4C_INLINE void log4c_category_info (const log4c_category_t *a_category, const char *a_format,...)
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_debug_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_fatal_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_notice_enabled (const log4c_category_t *a_category)
static int log4c_category_is_priority_enabled (const log4c_category_t *a_category, int a_priority)
static int log4c_category_is_trace_enabled (const log4c_category_t *a_category)
static int log4c_category_is_warn_enabled (const log4c_category_t *a_category)
LOG4C_API int log4c_category_list (log4c_category_t **a_cats, int a_ncats)
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,...)
LOG4C_API log4c_category_tlog4c_category_new (const char *a_name)
static LOG4C_INLINE void log4c_category_notice (const log4c_category_t *a_category, const char *a_format,...)
LOG4C_API void log4c_category_print (const log4c_category_t *a_category, FILE *a_stream)
LOG4C_API int log4c_category_set_additivity (log4c_category_t *a_category, int a_additivity)
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)
static LOG4C_INLINE void log4c_category_vlog (const log4c_category_t *a_category, int a_priority, const char *a_format, va_list a_args)
static LOG4C_INLINE void log4c_category_warn (const log4c_category_t *a_category, const char *a_format,...)

Variables

LOG4C_API struct __sd_factory * log4c_category_factory


Generated by  Doxygen 1.6.0   Back to index