blob: 85ac5b613d82bf245e3bae40eb9da399ad12e0de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "log.h"
void PutConsole(char *str, int color, va_list va);
void log(char *module_name, int prio, char *format_string, ...)
{
PutConsole(module_name,1000,0);
PutConsole(": ",0xf,0);
va_list va;
va_start(va,format_string);
PutConsole(format_string, 6000, va);
va_end(va);
PutConsoleNL();
}
|