armink / EasyLogger

An ultra-lightweight(ROM<1.6K, RAM<0.3k), high-performance C/C++ log library. | 一款超轻量级(ROM<1.6K, RAM<0.3k)、高性能的 C/C++ 日志库

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EasyLogger有这样功能吗?把所有级别信息输出到PC终端,把error级别输出到文件

yihua-wang opened this issue · comments

EasyLogger有这样功能吗?把所有级别信息输出到PC终端,把error级别输出到文件

可以的,在 elog_port_output 函数,识别不同级别的日志,然后做分发处理,分发到终端或者文件