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 inpu
Whatever you choose, there will be something you wanted to see which is just into the next level...
I don't think there is a general answer to this question, because it's so dependent on what the application is doing. Much like the oily pages in the Haynes manual (UK readers will know what I mean), I tend to find that you end up with heavy logging in the areas which have traditionally been troublesome, and almost none in the area which is going to cause you trouble next.
I have:
Normaly the lowest two levels are blocked. But the others are shown. And if you want to block the Fatal level, its fine with me, but don't expect that I clean up the mess afterwards (unfortunately I still have to...).