diff options
author | Camil Staps | 2016-08-25 11:16:49 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-25 11:16:49 +0200 |
commit | 7d9b5a0c84a931542c088cfe6bc4325be22ecb71 (patch) | |
tree | 085e5ae27cfbabc2e1533f4927969f5784dd1cfc /compiler/log.c |
Initial commit
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 +} |