RT-Thread / RT-Thread/rt-thread
ulog支持打印调用所在的函数,文件名和行数
Open
Nobody has claimed this yet.
good first issue
v5.1.0
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
ulog支持打印调用所在的函数以及文件和行数.
如果一起都打印出来会导致日志内容过场,可以分别定义三个宏,用户可以自由决定开启打印 函数 文件名 行数
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating ulog's existing logging macros and their call sites. Determine how optional function, file-name, and line-number output can be selected independently, then verify that each enabled combination produces the requested context without forcing all fields into the log.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100