#include <config.h>
#include <isc/util.h>
#include <isccfg/log.h>
Go to the source code of this file.
Functions | |
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.c.
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[] |
Initial value:
{
{ "config", 0 },
{ NULL, 0 }
}
Definition at line 32 of file log.c.
Referenced by cfg_log_init().
LIBISCCFG_EXTERNAL_DATA isc_logmodule_t cfg_modules[] |
Initial value:
{
{ "isccfg/parser", 0 },
{ NULL, 0 }
}
Definition at line 41 of file log.c.
Referenced by cfg_log_init().