I would like to know if you guys have any suggestions about debug levels when writing an application.
I thought about 4 levels:
0 : No Debug
1 : All inputs and outputs
2 : "I am here" notification from significant functions with main parameters
3 : All variables verbose
Here's what we did in one project I worked on. It's not the bible of logging levels, just one possibility. Logging should be fitted to your situation.
Each level also logged messages in 'lower' levels. There was sometimes a question as to whether a debug message should be LOG_DEBUG or LOG_HIDEBUG but we mostly based it on the number of lines it would push out to the log file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With