Function CDM_Log


Definition:#include <CDM.h>
Prototype:void CDM_Log(const char *format, ...);
Arguments:

format: A format string, describing the arguments in the same way as the first argument of the C library function "printf" (char *)
...: A variable set of arguments. These arguments should correspond to the arguments declared through the format string (various)

C/C++ API Sections
Tcl API Sections
Description
Return Value
Notes
See Also
Index

Description:

This function can be used in order to display debugging information under all supported platforms. "CDM_Log" works in the same way and accepts the same arguments as the standart C library function "printf". The only difference is that the message is not displayed to the "stdout" or "stderr" files of the program, but in a log file.

Return Value:

This function does not return anything, even if an error occurs.

Notes:

Note that "CDM_Log" places a limit to the length of the displayed message, as its length cannot exceed MAX_TEMP_STRING single-byte characters. If the message (after all the substitutions described by the format argument have been made) exceeds the length of MAX_TEMP_STRING characters (bytes), it will be truncuated to this length.

See Also:

CDM_LogStdout, puts, printf, CDM.h


Generated by: petasis@aias on Wed Aug 16 10:31:57 PM EEST 2006.