summaryrefslogtreecommitdiffstats
path: root/eurephia_log.h
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-08-06 14:45:14 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-08-06 14:45:14 +0200
commite51f1c49f9c1745012514dac79aaf8250ca1c036 (patch)
tree46017fb7c25dc9a60926173c543d7a7592208aca /eurephia_log.h
downloadeurephia-e51f1c49f9c1745012514dac79aaf8250ca1c036.tar.gz
eurephia-e51f1c49f9c1745012514dac79aaf8250ca1c036.tar.xz
eurephia-e51f1c49f9c1745012514dac79aaf8250ca1c036.zip
Imported eurephia into git
Diffstat (limited to 'eurephia_log.h')
-rw-r--r--eurephia_log.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/eurephia_log.h b/eurephia_log.h
new file mode 100644
index 0000000..d5986aa
--- /dev/null
+++ b/eurephia_log.h
@@ -0,0 +1,20 @@
+/* eurephia_log.h -- eurephia logging
+
+*/
+
+#ifndef EUREPHIA_LOG_H_
+#define EUREPHIA_LOG_H_
+
+#include <eurephia_struct.h>
+
+#define LOG_INFO 1
+#define LOG_DEBUG 2
+#define LOG_WARNING 3
+#define LOG_ERROR 4
+#define LOG_CRITICAL 5
+#define LOG_FATAL 6
+#define LOG_PANIC 7
+
+void eurephia_log(eurephiaCTX *ctx, int logdst, int loglvl, const char *fmt, ... );
+
+#endif /* !EUREPHIA_LOG_H_ */