#include "vlog.h" #include "init.h" #include static void vlog_callback(char *buf, int len) { printf("vlog_callback[%d]: %s", len, buf); } static void test(void) { // vlog_start_offline("log_20231227.txt"); vlog_set_func(vlog_callback); vlog(VLOG_CHANNEL_0, "Hello vlog!\r\n"); vlog(VLOG_CHANNEL_0, "Hello vlog!\r\n"); vlog(VLOG_CHANNEL_0, "Hello vlog!\r\n"); vlog(VLOG_CHANNEL_0, "Hello vlog!\r\n"); // vlog_stop_offline(); } init_export_app(test);