diff options
author | sanine <sanine.not@pm.me> | 2022-08-24 11:14:51 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-24 11:14:51 -0500 |
commit | e172f568e3a04ba97cf48e20dc8ee555b4ac29dc (patch) | |
tree | 73eb302a523420c5bd3e460645398f4a12dfe5e1 /src/logging/logging.h | |
parent | 2cb3c3df4099297b0a0554bb482e2de04fe86b5c (diff) |
add logging bindings
Diffstat (limited to 'src/logging/logging.h')
-rw-r--r-- | src/logging/logging.h | 4 |
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, ...); |