AC-Tube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
actube/src/cw/log_file.c

26 lines
395 B

#include <stdio.h>
#include "log.h"
static void open(){
}
static void close(){
}
static void write(int level,const char * format, va_list args, struct cw_LogWriter * w)
{
vprintf(format,args);
printf("\n");
}
struct cw_LogWriter cw_log_console_writer = {
"syslog", /* name */
1, /* colored */
open, /* open */
write, /* write */
close, /* close */
NULL /* priv */
};