actube/src/cw/log_file.c
7u83@mail.ru f4ebe841a5 renamed capwap directory to cw.
FossilOrigin-Name: 8a43dd9d05a4cb73210243ddd8df2a26f16c7ef2c4d4e36ab446de1f65d88223
2016-03-03 19:46:20 +00:00

27 lines
390 B
C

#include <stdio.h>
#include "log.h"
int cw_log_file_flags = LOG_PERROR;
char * cw_log_filename = NULL;
void cw_log_vfile(int level,const char * format, va_list args)
{
vprintf(format,args);
printf("\n");
}
void cw_log_file(int level,const char *format, ...)
{
va_list args;
va_start(args, format);
cw_log_vfile(level,format,args);
va_end(args);
closelog();
}