This commit is contained in:
sushen339
2025-11-18 12:54:21 +08:00
parent 57ecd5ab17
commit 43fc123cb4
25 changed files with 2978 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef LOG_H
#define LOG_H
#include "common.h"
/* 日志初始化 */
int log_init(void);
/* 写入日志 */
void log_write(const char *format, ...);
/* 日志轮转 */
void log_rotate(void);
/* 显示最新日志 */
void log_show_recent(int lines);
#endif /* LOG_H */