This lead me to the subject matter. Should logging be a mandatory feature in every/most/some apps? If so, should it have multiple levels of detail configurable after deployment?
I'm sure these are basic questions that have been discussed long and hard in the software development world and I can probably google for the topic. Interested in what people have to say though...
Other related posts:
Crystal Reports nightmare
Comment by stevonz, on 23-Jan-2009 11:08
You might want to ask this question in the forums... not all that visit here read the blogs...
Comment by psycik, on 23-Jan-2009 14:33
Personally I think logging should be in almost all apps and yes you definitely want it configurable.
I've done it in my apps in various ways. I do have a Common DLL that I can call up from other apps and use. But some times I do want a really light weight app there is one particular static class I can include in a project.
It handles all the write message code, and various levels, and file rollover at midnight/on startup.
I've found that to be the most flexible.