diff options
Diffstat (limited to 'compiler/log.c')
-rw-r--r-- | compiler/log.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/log.c b/compiler/log.c new file mode 100644 index 0000000..9362019 --- /dev/null +++ b/compiler/log.c @@ -0,0 +1,9 @@ +#include "log.h" + +#include <stdio.h> + +void log_debug(char* msg) { + #if(LOG_LEVEL < LOG_DEBUG) + fprintf(stdout, "%s\n", msg); + #endif +} |