Add master branch change.
Change-Id: I8892b7102753d29fefb4e23a7a7cc67c01157560
diff --git a/mbtk/liblynq_lib/src/lynq_log.c b/mbtk/liblynq_lib/src/lynq_log.c
index 6e3885a..65ffc31 100755
--- a/mbtk/liblynq_lib/src/lynq_log.c
+++ b/mbtk/liblynq_lib/src/lynq_log.c
@@ -1,5 +1,6 @@
+#include <stdarg.h>
#include "json/json.h"
-#include "liblog.h"
+#include "lynq_deflog.h"
#include "mbtk_type.h"
#define LOG_CONFIG_PATH "/etc/mbtk/mbtk_log.json"
@@ -15,9 +16,15 @@
void lynq_log_global_output(log_level_enum Level,const char *format,...)
{
- UNUSED(Level);
- UNUSED(format);
+ va_list args;
+ va_start(args,format);
+ mbtk_log(Level, format, args);
+ va_end(args);
+}
+const char* lynq_read_log_version()
+{
+ return "LOG-V1.0";
}
int lynq_syslog_set_file_size(int value)