mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 01:00:51 +00:00
c0fa485960
svn path=/branches/the-real-msvc/; revision=36960
20 lines
318 B
C
20 lines
318 B
C
/* Service debugging (simply logs to a file) */
|
|
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
void logmsg(char* string, ...)
|
|
{
|
|
va_list args;
|
|
|
|
FILE* debug_file = fopen("c:\\audiosrv-debug.txt", "a");
|
|
|
|
va_start(args, string);
|
|
|
|
vfprintf(debug_file, string, args);
|
|
|
|
va_end(args);
|
|
|
|
fclose(debug_file);
|
|
}
|