log.c File Reference

#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>.


Detailed Description

Definition in file log.c.


Function Documentation

void cfg_log_init ( isc_log_t lctx  ) 

Make the libisccfg categories and modules available for use with the ISC logging library.

Requires:

Ensures:

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().


Variable Documentation

LIBISCCFG_EXTERNAL_DATA isc_logcategory_t cfg_categories[]

Initial value:

 {
        { "config",     0 },
        { NULL,         0 }
}
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[]

Initial value:

 {
        { "isccfg/parser",      0 },
        { NULL,                 0 }
}
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().


Generated on Tue Apr 28 17:41:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha