#include <tzplatform_config.h>
#include "log.h"
+#include "neterror.h"
-#define LOG_FILE_PATH tzplatform_mkpath(TZ_USER_DATA, "/network/netconfig.log")
+#define LOG_FILE_PATH "/opt/usr/data/network/netconfig.log"
#define MAX_LOG_SIZE 1 * 1024 * 1024
#define MAX_LOG_COUNT 1
strftime(strtime, size, "%m/%d %H:%M:%S", local_ptm);
}
-void netconfig_log(const char *format, ...)
+EXPORT_SYM void netconfig_log(const char *format, ...)
{
va_list ap;
int log_size = 0;
va_end(ap);
}
-void log_cleanup(void)
+EXPORT_SYM void log_cleanup(void)
{
if (log_file == NULL)
return;