1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-01-18 23:32:54 +08:00

[docs] update the API doc

This commit is contained in:
朱天龙 (Armink) 2024-12-26 13:57:19 +08:00 committed by GitHub
parent 34cc171782
commit a596b2642e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,6 +78,7 @@ void elog_start(void)
```c
//WiFi 协议处理(位于 /wifi/proto.c 源代码文件)
#define LOG_TAG "wifi.proto"
#define LOG_LVL ELOG_LVL_DEBUG
#include <elog.h>
@ -87,6 +88,7 @@ log_e("我是 wifi.proto 日志");
```C
//WiFi 数据打包处理(位于 /wifi/package.c 源代码文件)
#define LOG_TAG "wifi.package"
#define LOG_LVL ELOG_LVL_DEBUG
#include <elog.h>
@ -96,6 +98,7 @@ log_w("我是 wifi.package 日志");
```C
//CAN 命令解析(位于 /can/disp.c 源代码文件)
#define LOG_TAG "can.disp"
#define LOG_LVL ELOG_LVL_DEBUG
#include <elog.h>