From e172f568e3a04ba97cf48e20dc8ee555b4ac29dc Mon Sep 17 00:00:00 2001 From: sanine Date: Wed, 24 Aug 2022 11:14:51 -0500 Subject: add logging bindings --- src/logging/logging.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/logging/logging.h') 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 + #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, ...); -- cgit v1.2.1