Re-instate proper logging: well structured, controllable, efficient (using ifs).
- Define a target tree which would well represent the different logging points of interest.
- The different branches/leaves in that tree should be easily enabled/disabled for debugging.
- The code uses
ifs on its corresponding target before logging to minimize overhead.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information