Skip to content
Snippets Groups Projects
Commit 252f968f authored by Jonathan Schöbel's avatar Jonathan Schöbel
Browse files

mapped Log::error to printf

It is useful for debugging to actually see the error messages.
parent 9479a0d6
No related branches found
No related tags found
No related merge requests found
......@@ -25,10 +25,12 @@
#ifndef _LOG_H
#define _LOG_H
#include <stdio.h>
#define ERROR1(message)
#define ERROR2(message, arg1)
#define ERROR3(message, arg1, arg2)
#define ERROR4(message, arg1, arg2, arg3)
#define ERROR1(message) printf (message)
#define ERROR2(message, arg1) printf (message, arg1)
#define ERROR3(message, arg1, arg2) printf (message, arg1, arg2)
#define ERROR4(message, arg1, arg2, arg3) printf (message, arg1, arg2, arg3)
#endif /* _LOG_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment