diff options
Diffstat (limited to 'lib/logger/log.c')
| -rw-r--r-- | lib/logger/log.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/logger/log.c b/lib/logger/log.c new file mode 100644 index 0000000..85ac5b6 --- /dev/null +++ b/lib/logger/log.c @@ -0,0 +1,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(); + + + + +} |
