DRAFTWORK IN PROGRESS
Debug Macro
motivation: do "git grep 'Debug('" to find all places where we do debug
format: <prefix>Debug()
Debug Tag
motivation: some times debug logs are too noisy like 10+ per seconds
Tag format:
[<prefix>_]<module_name | plugin_name>[_<category | submodule_name>]
Logs for transactions:
Condition | Prefix |
---|---|
~10 lines per transaction | no prefix |
10+ lines per transaction | v |
Periodical logs:
Condition | Prefix |
---|---|
~1 line per second | v |
~10 lines per second | w |
10+ lines per second | x |
Special cases:
Condition | Prefix |
---|---|
Affects performance | x |
Sensitive information | x |