Open
Description
Printing support for levels and continuations was added in #120, but there are some features from the C side that we are missing:
- Specialized macros (~100k uses in the kernel just for
dev_*()
ones).- Sometimes they also provide the other features below.
- Dynamic debug (~12k uses in the kernel) for
pr_debug()
(different thanpr_devel()
). - Rate limiting (~2k uses in the kernel).
- Custom formatting prefix (~800 uses in the kernel; of those ~400 are different than the usual
"string: " fmt
).- Perhaps we don't need this if we provide good enough specialized macros.
- Level 7 (devel) support (~700 uses in the kernel).
- "Once" support (~500 uses in the kernel).