2 releases
| 0.1.1 | Jun 12, 2024 |
|---|---|
| 0.1.0 | Jun 11, 2024 |
#1532 in Command-line interface
32 downloads per month
36KB
69 lines
本库实现了在paris打印日志的过程中定位使用该宏的函数名称
- 采用了paris进行log输出与彩色显示
- 使用std-ext::function_name获取函数名称
- 采用https://github.com/sindresorhus/figures 中的特殊符号为每一个宏配置了对应符号
| level | symbol |
|---|---|
| log | ♦ |
| info | i |
| debug | > |
| warning | ⚠ |
| error | ✖ |
| success | ✔ |
输出范例如下:
Dependencies
~125KB