Name
ec_mod_vdebug — Log debugging information for a module
Synopsis
#include "module.h"
| void **ec_mod_vdebug** (
| mod, | |
| | level, | |
| | fmt, | |
| | arg)
; | |
generic_module_infrastructure * <var class="pdparam">mod</var>
;
int <var class="pdparam">level</var>
;
const char * <var class="pdparam">fmt</var>
;
va_list <var class="pdparam">arg</var>
;
Description
Log debugging information for a module.
- mod
-
The module to log on behalf of. This is a pointer to a generic_module_infrastructure
- level
-
Typically one of the following:
DDEBUG
,DINFO
,DNOTICE
,DWARNING
,DERROR
, orDCRITICAL
. Iflevel
is greater than thedebug_level
set in the module, then log it. - fmt
-
The string to log.
- arg
-
Optional arguments????
This function returns void
.
It is legal to call this function in any thread.