summaryrefslogtreecommitdiff
path: root/lib/logger/log.h
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-18 00:48:07 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-18 00:48:07 +0200
commitdb22b587966b4a4eaa47536f32ca812532446bcb (patch)
treeb6d471f5232973713ef64d9c81feefef51ee5eaf /lib/logger/log.h
parent042e25e19b5fc0cec1d47440c26246c886cf39f6 (diff)
heavy refactoring underway
Diffstat (limited to 'lib/logger/log.h')
-rw-r--r--lib/logger/log.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/logger/log.h b/lib/logger/log.h
new file mode 100644
index 0000000..38f1219
--- /dev/null
+++ b/lib/logger/log.h
@@ -0,0 +1,13 @@
+#ifndef FOOLOS_LOG_H
+#define FOOLOS_LOG_H
+
+#define FOOLOS_LOG_ERROR 5
+#define FOOLOS_LOG_WARNING 4
+#define FOOLOS_LOG_INFO 3
+#define FOOLOS_LOG_DEBUG 2
+#define FOOLOS_LOG_FINE 1
+
+void log(char *module_name, int prio, char *format_string, ...);
+void panic(char *module_name, char *format_string);
+
+#endif