summaryrefslogtreecommitdiff
path: root/src/logging/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging/logging.h')
-rw-r--r--src/logging/logging.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logging/logging.h b/src/logging/logging.h
index f829169..758d7bc 100644
--- a/src/logging/logging.h
+++ b/src/logging/logging.h
@@ -1,6 +1,8 @@
#ifndef HONEY_LOGGING_H
#define HONEY_LOGGING_H
+#include <lua.h>
+
#define HONEY_FATAL 0
#define HONEY_ERROR 1
#define HONEY_WARN 2
@@ -10,6 +12,8 @@
extern int _honey_log_level;
+void setup_logging(lua_State *L, int honey_tbl);
+
void honey_set_log_level(int level);
void honey_log(int level, const char *fmt, ...);