summaryrefslogtreecommitdiff
path: root/kernel/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/log.h')
-rw-r--r--kernel/log.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/log.h b/kernel/log.h
index 74f8776..3a8c746 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -34,7 +34,13 @@ void log(bool color,char *module_name, int prio, char *format_string, ...);
#define klog(...) log(FOOLOS_LOG_COLOR,__FILE__ ":" S2(__LINE__), 10, LOG_LABEL_INFO __VA_ARGS__)
#define kpanic(...) {log(FOOLOS_LOG_COLOR,__FILE__ ":" S2(__LINE__) ,0, LOG_LABEL_PANIC __VA_ARGS__ ); while(1);}
+
+#ifdef HIDE_FIXME
+#define fixme(...) {}
+#else
#define fixme(...) log(FOOLOS_LOG_COLOR,__FILE__ ":" S2(__LINE__) , 10, LOG_LABEL_FIX __VA_ARGS__)
+#endif
+
#define testlog(...) log(FOOLOS_LOG_COLOR,__FILE__ ":" S2(__LINE__) , 10,LOG_LABEL_TEST __VA_ARGS__)
#endif
@@ -46,4 +52,6 @@ void log(bool color,char *module_name, int prio, char *format_string, ...);
#define fixme(...) {}
#endif
+
+
#endif