How would logging or tracing be looked upon if it existed within the application. I've started to implement a Logging Facility that can be turned off and on. You can specify STD OUT or a file and you can specify a level of logging (0=off, 1=exceptions, 2=trace, 3=debug). Has anyone got any comments on this ?
Hi John, I get the feeling from other posts on this that most people are removing any such logging before submisson. I have a very simple Logger class and I intend to remove the ref's before submission. However, as long as you can switch it all off and it doesn't make the code unreadable and doesn't violate the command line constraints, I can't see why it should be a problem. I guess like all these things, you just need to note why you have it there in the doc's.
Joined: Apr 18, 2002
Good point, I've decided to take it out, I started spending far to much time deciding what to log and what not to log etc. It was taking my focus away from presenting what wa asked for. I don't believe there's any marks available for extra functionaility - a guy here has got an excellent mark just doing what was required.