Skip to main content

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.

Parameters

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, or DCRITICAL. If level is greater than the debug_level set in the module, then log it.

fmt

The string to log.

arg

Optional arguments????

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

Was this page helpful?