aboutsummaryrefslogtreecommitdiff
path: root/interpreter/log.c
diff options
context:
space:
mode:
authorCamil Staps2016-08-25 20:29:50 +0200
committerCamil Staps2016-08-25 20:29:50 +0200
commit821939c6a6eb5761708146783ebd562422c2a7f7 (patch)
treedd26b29c65431801f4ca45d6952b7806534f9c8c /interpreter/log.c
parentRemove unnecessary includes (diff)
pedantic
Diffstat (limited to 'interpreter/log.c')
-rw-r--r--interpreter/log.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/interpreter/log.c b/interpreter/log.c
new file mode 100644
index 0000000..c369b4b
--- /dev/null
+++ b/interpreter/log.c
@@ -0,0 +1,9 @@
+#include "log.h"
+
+#include <stdio.h>
+
+#if(LOG_LEVEL < LOG_DEBUG)
+void log_debug(char* msg) {
+ fprintf(stdout, "%s\n", msg);
+}
+#endif