mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 20:21:02 -05:00
19 lines
393 B
C
19 lines
393 B
C
#include "nxlog.h"
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
//#include <windows.h>
|
|
|
|
static char *nx_log_tag = "libreplicant";
|
|
#define MAX_FMT_SIZE 512
|
|
|
|
void NXLog(int priority, char *fmt, ...){
|
|
|
|
char formatted_string[MAX_FMT_SIZE];
|
|
|
|
va_list argptr;
|
|
va_start(argptr,fmt);
|
|
vsnprintf(formatted_string, MAX_FMT_SIZE, fmt, argptr);
|
|
va_end(argptr);
|
|
|
|
// OutputDebugString(formatted_string);
|
|
}
|