#include <isc/lang.h>
#include <isc/log.h>
Go to the source code of this file.
Defines | |
#define | ISCCFG_LOG_H 1 |
#define | CFG_LOGCATEGORY_CONFIG (&cfg_categories[0]) |
#define | CFG_LOGMODULE_PARSER (&cfg_modules[0]) |
Functions | |
ISC_LANG_BEGINDECLS void | cfg_log_init (isc_log_t *lctx) |
Make the libisccfg categories and modules available for use with the ISC logging library. | |
Variables | |
LIBISCCFG_EXTERNAL_DATA isc_logcategory_t | cfg_categories [] |
When adding a new category, be sure to add the appropriate #define to <isccfg/log.h>. | |
LIBISCCFG_EXTERNAL_DATA isc_logmodule_t | cfg_modules [] |
When adding a new module, be sure to add the appropriate #define to <isccfg/log.h>. |
Definition in file log.h.
#define CFG_LOGCATEGORY_CONFIG (&cfg_categories[0]) |
#define CFG_LOGMODULE_PARSER (&cfg_modules[0]) |
ISC_LANG_BEGINDECLS void cfg_log_init | ( | isc_log_t * | lctx | ) |
Make the libisccfg categories and modules available for use with the ISC logging library.
Requires:
Definition at line 47 of file log.c.
References cfg_categories, cfg_modules, isc_log_registercategories(), isc_log_registermodules(), and REQUIRE.
Referenced by ns_log_init(), and setup_logging().
LIBISCCFG_EXTERNAL_DATA isc_logcategory_t cfg_categories[] |
When adding a new category, be sure to add the appropriate #define to <isccfg/log.h>.
Definition at line 32 of file log.c.
Referenced by cfg_log_init().
LIBISCCFG_EXTERNAL_DATA isc_logmodule_t cfg_modules[] |
When adding a new module, be sure to add the appropriate #define to <isccfg/log.h>.
Definition at line 41 of file log.c.
Referenced by cfg_log_init().