You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EasyLogger/demo/os/windows/README.md

25 lines
510 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# windows demo
---
## 1、简介
使用GCC编译。通过 `main.c``test_elog()` 方法来测试日志的输出。
### 1.1、使用方法
使用前需提前配置好编译环境,配置成功后,点击 `make.bat` 脚本,等待编译完成后,打开 `out\EasyLoggerWinDemo.exe` 即可看到运行结果。
## 2、文件说明
`easylogger\port\elog_port.c` 移植参考文件
## 3、其他功能
可以打开 `main.c` 的61-67行中的部分注释来测试以下功能。
- 第61行动态使能或失能日志输出
- 第63行动态设置过滤优先级
- 第65行动态设置过滤标签
- 第67行动态设置过滤关键词