smfi_setdbg Function
Purpose
The smfi_setdbg function sets the debugging (tracing) level for the milter library.
Syntax
#include <libmilter/mfapi.h>
int smfi_setdbg(
int level;
);
Description
The smfi_setdbg function sets the internal debugging level of the milter library to a new level, so that code details can be traced. A level of zero turns off debugging. The higher (more positive) the level, the more detailed the debugging. Six is the current, highest, and useful value.
Arguments
Item | Description |
---|---|
level | The new debugging level. |
Return values
The smfi_setdbg function returns the MI_SUCCESS value by default.