[Tarantool-patches] [PATCH v8 03/12] lua/log: declare say_logger_init and say_logger_initialized
Cyrill Gorcunov
gorcunov at gmail.com
Wed Jun 3 01:18:08 MSK 2020
We gonna use it to provide a way to initialize
logger subsystem early.
Part-of #689
Reviewed-by: Oleg Babin <olegrok at tarantool.org>
Reviewed-by: Leonid Vasiliev <lvasiliev at tarantool.org>
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
src/lua/log.lua | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/lua/log.lua b/src/lua/log.lua
index 312c14d5e..23529b30e 100644
--- a/src/lua/log.lua
+++ b/src/lua/log.lua
@@ -22,6 +22,12 @@ ffi.cdef[[
void
say_set_log_format(enum say_format format);
+ extern void
+ say_logger_init(const char *init_str, int level, int nonblock,
+ const char *format, int background);
+
+ extern bool
+ say_logger_initialized(void);
extern sayfunc_t _say;
extern struct ev_loop;
--
2.26.2
More information about the Tarantool-patches
mailing list