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:

ConditionPrefix
~10 lines per transactionno prefix
10+ lines per transactionv

Periodical logs:

ConditionPrefix
~1 line per secondv
~10 lines per secondw
10+ lines per secondx

Special cases:

ConditionPrefix
Affects performancex
Sensitive informationx

 

 

  • No labels