summaryrefslogtreecommitdiff
path: root/src/logging/logging.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-24 11:14:51 -0500
committersanine <sanine.not@pm.me>2022-08-24 11:14:51 -0500
commite172f568e3a04ba97cf48e20dc8ee555b4ac29dc (patch)
tree73eb302a523420c5bd3e460645398f4a12dfe5e1 /src/logging/logging.h
parent2cb3c3df4099297b0a0554bb482e2de04fe86b5c (diff)
add logging bindings
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, ...);