PMDEBUG(3)
PM Programmer's Manual
PMDEBUG(3)
NAME
pmDebug - print a debug message

SYNOPSIS
void pmDebug(int level, const char *format, ...);

ARGUMENTS
int level
IN
Debug level
const char * format
IN
Message format
...
IN
Variable number of message arguments

IMPLEMENTATION LEVEL
BASE

DESCRIPTION
pmDebug() prints a debug message, according to the value of level, to the error file which is set by pmSetDebug().

level argument is:
PM_ERROR 1 Unrecoverble error
PM_WARNING 2 Temporary or recoverble error
PM_INFO 3 Just an information, not an error

format and following arguments are the same as printf(3).

RETURN VALUE
None


$Id: pmDebug.html,v 1.1.1.1 2002/02/12 02:00:13 kameyama Exp $