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.
Add a comment
Please note: comments that are inappropriate or promotional in nature will be deleted.
E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.
Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and placed in the moderation queue for the blog owner's approval.