log.h File Reference

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


Detailed Description

Definition in file log.h.


Define Documentation

#define ISCCFG_LOG_H   1

Definition at line 21 of file log.h.

#define CFG_LOGCATEGORY_CONFIG   (&cfg_categories[0])

Definition at line 31 of file log.h.

Referenced by category_fromconf().

#define CFG_LOGMODULE_PARSER   (&cfg_modules[0])

Definition at line 33 of file log.h.


Function Documentation

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:

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[]

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


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