#include <windows.h>#include <stdlib.h>#include <stdio.h>#include <string.h>Go to the source code of this file.
Functions | |
| void | Log_Out (const char *string) |
| void | Log_Puts (const char *string) |
| void | Log_Printf (const char *String,...) |
|
|
Definition at line 27 of file log.c. Referenced by Log_Printf(), and Log_Puts().
00028 {
00029 #ifdef _DEBUG
00030 OutputDebugString(string);
00031 #endif
00032 printf(string);
00033 }
|
|
||||||||||||
|
Definition at line 42 of file log.c. References Log_Out().
00043 {
00044 va_list ArgPtr;
00045 char TempStr[1024];
00046
00047 va_start(ArgPtr, String);
00048 vsprintf(TempStr, String, ArgPtr);
00049 va_end(ArgPtr);
00050
00051 Log_Out(TempStr);
00052 }
|
|
|
Definition at line 36 of file log.c. References Log_Out().
|
1.3.2