summaryrefslogtreecommitdiff
path: root/experimental/tectonics/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tectonics/logging.h')
-rw-r--r--experimental/tectonics/logging.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/experimental/tectonics/logging.h b/experimental/tectonics/logging.h
new file mode 100644
index 0000000..47e09e7
--- /dev/null
+++ b/experimental/tectonics/logging.h
@@ -0,0 +1,16 @@
+#ifndef ARGENT_LOGGING_H
+#define ARGENT_LOGGING_H
+
+#define FATAL 0
+#define ERROR 1
+#define WARN 2
+#define INFO 3
+#define DEBUG 4
+#define TRACE 5
+
+extern int global_log_level;
+
+const char *level_string(int level);
+void log_msg(int level, const char *format_string, ...);
+
+#endif